Find all Deposits from a Virtual Account
You can retrieve all on-chain deposits registered under a Virtual Account.
This operation can be useful for cross-checking that all on-chain deposits have been properly recorded by the VA ledger.
Example request:
curl --location 'https://api.tatum.io/v3/ledger/deposits?pageSize=50&page=0&sort=desc&accountId={Virtual_Account_Id}' \
--header 'x-api-key: {YOUR_API_KEY}'
//Response:
[
{
"currency": "USDT_TRON",
"timestamp": 1728205242000,
"shardID": null,
"address": "TL25zvGnDUHyoBRNJW7cJuy6v26yqT##",
"xpub": null,
"derivationKey": null,
"blockHeight": 65852220,
"blockHash": "0000000003ecd33c1b521f7fc7ddd0bc4976fea4b36f8###",
"from": "TVRVSmmfPgryCZq4iXn4r7EjkWp9aPU##",
"amount": "138",
"txId": "c6d38cd80bef7e71e03b36dd0718e7dd00c4ca6dfb77788151069f24#####",
"spent": false,
"status": "Done",
"reference": "f5632498-3902-4843-a7b###",
"accountId": "{Virtual_Account_Id}",
"id": "###"
},
{
"currency": "USDT_TRON",
"timestamp": 1728101166000,
"shardID": null,
"address": "TL25zvGnDUHyoBRNJW7cJuy6v26yqT##",
"xpub": null,
"derivationKey": null,
Updated 2 months ago