Get all transactions of a wallet address
Overview
This API provides comprehensive access to every blockchain transaction associated with a specific wallet address. Unlike token transfers, which are derived from event logs, this API returns raw blockchain transactions, including contract interactions, token approvals, and transfers,... This is invaluable for developers, investors, and platforms needing a full overview of a wallet's blockchain activity. For DeFi users, it offers transparency into all on-chain actions, whether interacting with smart contracts or moving assets between wallets. NFT collectors and creators can use this API to track every significant transaction related to their assets, such as minting or contract deployments. By providing a complete history of blockchain transactions, this API is essential for auditing, monitoring, and managing wallets, helping users maintain full visibility into their on-chain behavior, including interactions that don't necessarily involve token transfers.
A blockchain transaction relates to a wallet through the from
, to
, and contractAddress
fields.
The from
field indicates the sender; if it matches the wallet address, it means the wallet initiated the transaction, such as sending tokens or RON.
The to
field represents the recipient; if this matches the wallet, it signifies that the wallet received assets.
The contractAddress
specifies any smart contract involved in the transaction.
If this address matches a specific contract the wallet interacts with, it shows the relationship between the wallet and that contract.
Get all transactions of a wallet address
To get txs list, use this get transactions of an address API
It requires one parameter (in path):
address
: wallet address
Optional parameters (in query):
limit
: how many items can be return in a single response, maximum 200cursor
: the current pointer of the result set, to iterate to the next part of the results, it's returned by the previous call (nextCursor
field), you get it and pass to the next call, presentnextCursor
means there will be more results to scroll, emptynextCursor
means it reaches to the end of resultsorder
: specify the order of result set. For most APIs,order
might not be supported but the default valuedesc
, otherwise you can choose betweendesc
andasc
. Desc ordering usually refers to show latest elements over older elements
Example of 0xc591125e9770d0fc908c2ff1939b1ca2e27b9022 wallet address:
curl --location 'https://api-gateway.skymavis.com/skynet/ronin/web3/v2/accounts/0xc591125e9770d0fc908c2ff1939b1ca2e27b9022/txs?limit=2' \
--header 'Accept: application/json' \
--header 'X-API-KEY: <YOUR_API_KEY>'
Response:
{
"result": {
"items": [
{
"transactionHash": "0x222c3e1dd18d333710c19d76e73b9be656b52ab604a9999ed3e316b4b7b64026",
"transactionIndex": 21,
"blockHash": "0xb972bad1d526952432bcb7a9d6943aba0944a952e94b38975614ca970ecc490a",
"blockNumber": 38483462,
"from": "0xc591125e9770d0fc908c2ff1939b1ca2e27b9022",
"to": "0x38edcd0d30e161b284a197953d655fbb96e1498c",
"contractAddress": "",
"status": 1,
"gas": 596048,
"gasPrice": "0x4a817c800",
"effectiveGasPrice": "0x4a817c800",
"gasUsed": 495551,
"cumulativeGasUsed": 1915835,
"logsBloom": "0x00000000200000000000000001000000000000000000080000000000000000008000100000000002000000000000000000000000200000000000000000042000000000080000000000000008001000000000000001040000000000000000000000021004020000000000000000000800000000000001400000000010000000000000000040000000000000200000000000000000000000000000000000010040000000000000000200000080000010000000800000000000000000000000000000000002000000000000000000100000000000000088000000000000000060200000000000000000000000000000000000008000100400000000080004000000",
"input": "0x81433e6300000000000000000000000000000000000000000000000000000000000000370000000000000000000000000000000000000000000000000000000000000002",
"nonce": 456,
"value": "0x0",
"type": 0,
"v": "0xfeb",
"r": "0x1eb295f6b781805c8ed018cdfe5feeb641bdc41b45d3d7d19551f8fe5772c462",
"s": "0x1e50cde0b2ab8993c39f5bdee5d834d42bafe0b3962c539910ec1c360e0b05a",
"blockTime": 1727289926
},
{
"transactionHash": "0x3bdff3cbb2bb1337b48ff40403940391c19b5f55246394dcccda36938dfeefea",
"transactionIndex": 17,
"blockHash": "0x50421cb5b38ee2f5e7c92e592e93713bec72b1b02b225fe603644e47ad63c46c",
"blockNumber": 38483457,
"from": "0xc591125e9770d0fc908c2ff1939b1ca2e27b9022",
"to": "0x38edcd0d30e161b284a197953d655fbb96e1498c",
"contractAddress": "",
"status": 1,
"gas": 592752,
"gasPrice": "0x4a817c800",
"effectiveGasPrice": "0x4a817c800",
"gasUsed": 492751,
"cumulativeGasUsed": 1541751,
"logsBloom": "0x00000000000000000000000001000000000000000000080000800000000000008000400000000000000000000000000000000008200000000000000000042000000000080000000000000008001000000000000001040000000000000000000000021004020000000008000000000800000000000001000000000010000000000000000040000000000000200000000000000400000000000008000000010040000000000000000200000000000010000000000000000000000000000002000000000002000000000000000000000000000000000088400000000000000060000000000000000000000002000000000000008000000400000000080004000000",
"input": "0x81433e6300000000000000000000000000000000000000000000000000000000000000360000000000000000000000000000000000000000000000000000000000000002",
"nonce": 455,
"value": "0x0",
"type": 0,
"v": "0xfec",
"r": "0x8060cb6676bcd6639c91b63dcf5238c3f1008390480363e782c8750d11e81113",
"s": "0x47c7809b4942ba448a65b8d9fa1c69b7dd0a464bb9a8e06703304f2f609a0544",
"blockTime": 1727289911
}
],
"paging": {
"nextCursor": "Mzg0ODM0NTc6MTc="
}
}
}
The response returned from the API may vary in the future as the state of NFTs/Ownership/Collections can change.