curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTransfersForAddress",
"params": [
"7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
{
"sortOrder": "desc",
"limit": 100,
"direction": "all"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"data": [
{
"confirmationStatus": "finalized",
"status": "succeeded",
"transfer": {
"signature": "2VPAJ2F4mqYc8D3PbUxuWVMHpHyfAzCTXEznVnFJrFvP7aansmELbmdcn6fmAByvP9q7Efw2HpbQUgbTy1nPmcHK",
"transferType": "spl",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "25000000",
"decimals": 6,
"uiAmountString": "25",
"uiAmount": 25,
"blockTime": 1775359465,
"slot": 411108200,
"from": "SyfXr7gMNV788BJ7pojBLPYkUZRtegusx8R73cb13y7t",
"to": "DL4AxScsmxmFjJYaXb6v49jtAwsmKbDCwUx6UPVbGoa1",
"fromOwner": "5psKzBiHnWRmLMgP263KdEqjNQL36CqgkB6FSyodYv9H",
"toOwner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"direction": "in"
}
},
{
"confirmationStatus": "finalized",
"status": "succeeded",
"transfer": {
"signature": "p9cJHp1uL1aLhVL8NBNVxxKgaeCVa4epNRRzBJ7fvTWXDxpCPDMvRGmkbruV1BdBtPbmgiGRaYRmfeBJFZoxwnMB",
"transferType": "sol",
"amount": "150000000",
"decimals": 9,
"uiAmountString": "0.15",
"uiAmount": 0.15,
"blockTime": 1775358902,
"slot": 411106789,
"from": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"to": "bohXtfJuh1ZuVjQht7A8x4Peqm2TRMaj8ALtTKdbgC5k",
"fromOwner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"toOwner": "bohXtfJuh1ZuVjQht7A8x4Peqm2TRMaj8ALtTKdbgC5k",
"direction": "out"
}
}
],
"paginationToken": "eyJ2IjoyLCJiIjoxNzc1MzU4OTAyLCJ0IjoxODYxNTk4NzM2MDI0MDY0LCJpIjoyLCJuIjotMSwicCI6MjAyNjA0fQ"
}
}History and transfers
getTransfersForAddress RPC Method
List every SOL and SPL token transfer in or out of a wallet, parsed into sender, receiver, owners, mint and amount. getTransfersForAddress RPC parameters and examples.
POST
/
curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTransfersForAddress",
"params": [
"7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
{
"sortOrder": "desc",
"limit": 100,
"direction": "all"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"data": [
{
"confirmationStatus": "finalized",
"status": "succeeded",
"transfer": {
"signature": "2VPAJ2F4mqYc8D3PbUxuWVMHpHyfAzCTXEznVnFJrFvP7aansmELbmdcn6fmAByvP9q7Efw2HpbQUgbTy1nPmcHK",
"transferType": "spl",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "25000000",
"decimals": 6,
"uiAmountString": "25",
"uiAmount": 25,
"blockTime": 1775359465,
"slot": 411108200,
"from": "SyfXr7gMNV788BJ7pojBLPYkUZRtegusx8R73cb13y7t",
"to": "DL4AxScsmxmFjJYaXb6v49jtAwsmKbDCwUx6UPVbGoa1",
"fromOwner": "5psKzBiHnWRmLMgP263KdEqjNQL36CqgkB6FSyodYv9H",
"toOwner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"direction": "in"
}
},
{
"confirmationStatus": "finalized",
"status": "succeeded",
"transfer": {
"signature": "p9cJHp1uL1aLhVL8NBNVxxKgaeCVa4epNRRzBJ7fvTWXDxpCPDMvRGmkbruV1BdBtPbmgiGRaYRmfeBJFZoxwnMB",
"transferType": "sol",
"amount": "150000000",
"decimals": 9,
"uiAmountString": "0.15",
"uiAmount": 0.15,
"blockTime": 1775358902,
"slot": 411106789,
"from": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"to": "bohXtfJuh1ZuVjQht7A8x4Peqm2TRMaj8ALtTKdbgC5k",
"fromOwner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"toOwner": "bohXtfJuh1ZuVjQht7A8x4Peqm2TRMaj8ALtTKdbgC5k",
"direction": "out"
}
}
],
"paginationToken": "eyJ2IjoyLCJiIjoxNzc1MzU4OTAyLCJ0IjoxODYxNTk4NzM2MDI0MDY0LCJpIjoyLCJuIjotMSwicCI6MjAyNjA0fQ"
}
}Get a wallet’s transfers, already parsed, with getTransfersForAddress. Each row is one transfer leg with its signature, sender and receiver, their owning wallets, mint, raw and UI amounts, slot and block time. Native SOL, SPL Token and Token-2022 transfers are included.
- Filters:
direction(in,outorall),mint, ablockTimerange in Unix seconds and aslotrange. - Status: only transfers of successful transactions are returned by default. Set
statustofailedoranyto include transfers of failed transactions, which moved nothing on-chain. - Page size:
limitis 1 to 1,000, default 100. - Paging: pass the returned
paginationTokenwith the same address, sort order and filters. Stop when a response has nopaginationToken. Pages at the edge of aslotrange can be shorter thanlimitwhile a token is still returned. - Strict config: unknown config fields return -32602, so a misspelt filter never widens the page.
Body
application/json
Was this page helpful?