curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTokenBalanceChangesForMint",
"params": [
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
{
"sortOrder": "desc",
"limit": 100
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"data": [
{
"confirmationStatus": "finalized",
"change": {
"signature": "5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"account": "CSBvQkExysKY55vCQbrrQYCTpdkeGbYNx3ir42SmdhyK",
"owner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"direction": "in",
"amount": "1250000000",
"change": "1250000000",
"preBalance": "1250000000",
"postBalance": "2500000000",
"decimals": 6,
"uiAmount": 1250,
"uiAmountString": "1250",
"blockTime": 1775358702,
"slot": 411106512,
"accountIndex": 2
}
},
{
"confirmationStatus": "finalized",
"change": {
"signature": "3cKcTTWWuVbqz1hVfEp9pvkmr2AyJ2rcd6XB2nGNpTwWUPzby5vgwvqLCe1vdwvxvemEjwMUiaaneWnxSJHRLgUy",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"account": "BGocb4GEpbTFm8UFV2VsDSaBXHELPfAXrvd4vtt8QWrA",
"owner": "H8sMJSCQxfKiFTCfDR3DUMLPwcRbM61LGFJ8N4dK3WjS",
"direction": "out",
"amount": "1250000000",
"change": "-1250000000",
"preBalance": "7310450000",
"postBalance": "6060450000",
"decimals": 6,
"uiAmount": -1250,
"uiAmountString": "-1250",
"blockTime": 1775358702,
"slot": 411106512,
"accountIndex": 1
}
}
],
"paginationToken": "eyJiIjoxNzc1MzU5MzU5LCJ0IjoxODYxNTk5MjE1MjIyODcxLCJzIjo0MTExMDc5MzQsImEiOiJDU0J2UWtFeHlzS1k1NXZDUWJyclFZQ1RwZGtlR2JZTngzaXI0MlNtZGh5SyJ9"
}
}Historical balances
getTokenBalanceChangesForMint RPC Method
Page every token account balance change for a mint, including mints and burns, filtered by owner, account, time and size. getTokenBalanceChangesForMint 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": "getTokenBalanceChangesForMint",
"params": [
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
{
"sortOrder": "desc",
"limit": 100
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"data": [
{
"confirmationStatus": "finalized",
"change": {
"signature": "5h6xBEauJ3PK6SWCZ1PGjBvj8vDdWG3KpwATGy1ARAXFSDwt8GFXM7W5Ncn16wmqokgpiKRLuS83KUxyZyv2sUYv",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"account": "CSBvQkExysKY55vCQbrrQYCTpdkeGbYNx3ir42SmdhyK",
"owner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"direction": "in",
"amount": "1250000000",
"change": "1250000000",
"preBalance": "1250000000",
"postBalance": "2500000000",
"decimals": 6,
"uiAmount": 1250,
"uiAmountString": "1250",
"blockTime": 1775358702,
"slot": 411106512,
"accountIndex": 2
}
},
{
"confirmationStatus": "finalized",
"change": {
"signature": "3cKcTTWWuVbqz1hVfEp9pvkmr2AyJ2rcd6XB2nGNpTwWUPzby5vgwvqLCe1vdwvxvemEjwMUiaaneWnxSJHRLgUy",
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"account": "BGocb4GEpbTFm8UFV2VsDSaBXHELPfAXrvd4vtt8QWrA",
"owner": "H8sMJSCQxfKiFTCfDR3DUMLPwcRbM61LGFJ8N4dK3WjS",
"direction": "out",
"amount": "1250000000",
"change": "-1250000000",
"preBalance": "7310450000",
"postBalance": "6060450000",
"decimals": 6,
"uiAmount": -1250,
"uiAmountString": "-1250",
"blockTime": 1775358702,
"slot": 411106512,
"accountIndex": 1
}
}
],
"paginationToken": "eyJiIjoxNzc1MzU5MzU5LCJ0IjoxODYxNTk5MjE1MjIyODcxLCJzIjo0MTExMDc5MzQsImEiOiJDU0J2UWtFeHlzS1k1NXZDUWJyclFZQ1RwZGtlR2JZTngzaXI0MlNtZGh5SyJ9"
}
}List every balance change across a token’s accounts: transfers, mints and burns. Each row has the token account, its owner, the signed change, the balance before and after, slot and block time.
- Newest first by default.
sortOrder: "asc"needs a lower bound on the first page:blockTimeorslotwithgte,gtoreq. Use it to read from launch. - Narrow to one wallet with
owneror one token account withaccount. - Filter with
direction(in,out,all),blockTimeandslotranges (gte,gt,lte,lt,eq; block time in Unix seconds), andminAbsChangeas a raw-unit integer string. - Pages hold up to 500 rows (
limit, default 100). Pass the returnedpaginationTokenwith the same parameters to continue; the last page has none. signatureis omitted on the rare row whose signature could not be resolved.
Body
application/json
Was this page helpful?