Skip to main content

Get all RON transfers via internal transactions of a wallet address

Overview

This API provides a focused view of internal transactions that may indicate potential money movement associated with a specific wallet. This API exclusively returns internal transactions where the Ethereum Virtual Machine (EVM) OpCode is "CALL" signaling that the transaction likely involves a call to another contract, which may result in a transfer of funds.

The API filters results to include only those internal transactions where either the from or to field matches the provided wallet address. This allows users to efficiently monitor all relevant internal activity linked to their wallet, helping them track significant interactions, such as fund movements or contract engagements.

By focusing on potential money movements, this API is invaluable for users looking to gain insights into their on-chain behavior and manage their assets effectively.

Get all RON transfers via internal transactions of a wallet address

To get internal txs list, use this get internal transactions transfers 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 200
  • cursor: 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, present nextCursor means there will be more results to scroll, empty nextCursor means it reaches to the end of results
  • order: specify the order of result set. For most APIs, order might not be supported but the default value desc, otherwise you can choose between desc and asc. 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/internal_txs/transfers?limit=2' \
--header 'Accept: application/json' \
--header 'X-API-KEY: <YOUR_API_KEY>'

Response:

{
"result": {
"items": [
{
"transactionHash": "0x5f66ba21d253c2e304911bf3265bab114fdc54c90b4054edab8e3fd9e41a2b11",
"order": 4236,
"opcode": "CALL",
"type": "call",
"value": "0x262f05758e8df53a80",
"input": "0x",
"from": "0x545edb750eb8769c868429be9586f5857a768758",
"to": "0xc591125e9770d0fc908c2ff1939b1ca2e27b9022",
"success": true,
"error": "",
"blockNumber": 35379039,
"blockHash": "0x5d9f417297b462b7db53954d8d846f387a45fed3fc5dfbaf9743a119e62ef731",
"blockTime": 1717969602
},
{
"transactionHash": "0x66f1e3f9d88b3e11919a5e4071df25f9874725b4e7401216c1bc0ad9e62c2e1d",
"order": 2437,
"opcode": "CALL",
"type": "call",
"value": "0x455bbdb4e6c9bb6a",
"input": "0x",
"from": "0x545edb750eb8769c868429be9586f5857a768758",
"to": "0xc591125e9770d0fc908c2ff1939b1ca2e27b9022",
"success": true,
"error": "",
"blockNumber": 35379027,
"blockHash": "0x7354c1b18ef0a9b46ffcfd7a1fefea069977f99ff2364ad985733adf9a9b7e16",
"blockTime": 1717969566
}
],
"paging": {
"nextCursor": "MzUzNzkwMjc6MTE6MjQzNw=="
}
}
}

The response returned from the API may vary in the future as the state of NFTs/Ownership/Collections can change.