Get subaccount's deposits and withdrawals history
SubaccountId of the trader we want to get the history from
0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002
^0x[0-9a-fA-F]{64}$
Filter history by denom
peggy0xdAC17F958D2ee523a2206206994597C13D831ec7
Filter history by transfer type
["deposit","withdraw"]
Skip will skip the first n item from the result
0
Limit is used to specify the maximum number of items to be returned
100
Upper bound of account transfer history's executedAt
1656864048234
{"paging":{"countBySubaccount":3144167030999342600,"from":1916499695,"next":["Ea rerum.","Aut dolorem cum voluptas quae.","Voluptas repellendus qui ipsam est."],"to":391437627,"total":7364854934794692000},"transfers":[{"amount":{"amount":"10000000000000000000","denom":"inj"},"dstAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","dstSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","executedAt":1544614248000,"srcAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","srcSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","transferType":"deposit"},{"amount":{"amount":"10000000000000000000","denom":"inj"},"dstAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","dstSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","executedAt":1544614248000,"srcAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","srcSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","transferType":"deposit"},{"amount":{"amount":"10000000000000000000","denom":"inj"},"dstAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","dstSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","executedAt":1544614248000,"srcAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","srcSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","transferType":"deposit"},{"amount":{"amount":"10000000000000000000","denom":"inj"},"dstAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","dstSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","executedAt":1544614248000,"srcAccountAddress":"inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r","srcSubaccountID":"0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002","transferType":"deposit"}]}
GET /api/exchange/account/v1/subaccountHistory/{subaccountId} HTTP/1.1 Host: inj-indexer.nownodes.io Accept: */*
OK response.
{ "paging": { "countBySubaccount": 3144167030999342600, "from": 1916499695, "next": [ "Ea rerum.", "Aut dolorem cum voluptas quae.", "Voluptas repellendus qui ipsam est." ], "to": 391437627, "total": 7364854934794692000 }, "transfers": [ { "amount": { "amount": "10000000000000000000", "denom": "inj" }, "dstAccountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", "dstSubaccountID": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002", "executedAt": 1544614248000, "srcAccountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", "srcSubaccountID": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002", "transferType": "deposit" }, { "amount": { "amount": "10000000000000000000", "denom": "inj" }, "dstAccountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", "dstSubaccountID": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002", "executedAt": 1544614248000, "srcAccountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r", "srcSubaccountID": "0x90f8bf6a479f320ead074411a4b0e7944ea8c9c1000000000000000000000002", "transferType": "deposit" } ] }