You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swagger.yml
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -878,6 +878,80 @@ paths:
878
878
application/json:
879
879
schema:
880
880
$ref: "#/components/schemas/WrapperTransaction"
881
+
/api/v1/chain/wrapper/recent:
882
+
get:
883
+
summary: Get the most recent wrapper transactions with optional filtering by inner tx kind and/or transfer token
884
+
parameters:
885
+
- in: query
886
+
name: offset
887
+
schema:
888
+
type: integer
889
+
minimum: 0
890
+
maximum: 1000000
891
+
default: 0
892
+
description: Number of matching wrappers to skip (for pagination)
893
+
- in: query
894
+
name: size
895
+
schema:
896
+
type: integer
897
+
minimum: 10
898
+
maximum: 30
899
+
default: 10
900
+
description: Number of matching wrappers to return
901
+
- in: query
902
+
name: kind
903
+
schema:
904
+
type: array
905
+
items:
906
+
type: string
907
+
enum:
908
+
- "transparentTransfer"
909
+
- "shieldedTransfer"
910
+
- "shieldingTransfer"
911
+
- "unshieldingTransfer"
912
+
- "mixedTransfer"
913
+
- "bond"
914
+
- "redelegation"
915
+
- "unbond"
916
+
- "withdraw"
917
+
- "claimRewards"
918
+
- "voteProposal"
919
+
- "initProposal"
920
+
- "changeMetadata"
921
+
- "changeCommission"
922
+
- "revealPk"
923
+
- "ibcMsgTransfer"
924
+
- "ibcTransparentTransfer"
925
+
- "ibcShieldingTransfer"
926
+
- "ibcUnshieldingTransfer"
927
+
- "becomeValidator"
928
+
- "deactivateValidator"
929
+
- "reactivateValidator"
930
+
- "unjailValidator"
931
+
- "changeConsensusKey"
932
+
- "initAccount"
933
+
- "unknown"
934
+
style: form
935
+
explode: false
936
+
description: Optionally, filter by inner-tx kind(s) (comma-separated).
937
+
- in: query
938
+
name: token
939
+
schema:
940
+
type: array
941
+
items:
942
+
type: string
943
+
style: form
944
+
explode: false
945
+
description: Optionally, filter by inner-tx transfer token(s) (comma-separated). Using this filter will exclude non-transfer inner-tx kinds from the results.
946
+
responses:
947
+
"200":
948
+
description: List of wrapper transactions with filtered inner transactions
0 commit comments