curl --request POST \
--url https://ca.raze.sh/ \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTokenAccountBalance",
"params": [
"DhzDoryP2a4rMK2bcWwJxrE2uW6ir81mSFWbdkPVtQB"
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"slot": 418263080
},
"value": {
"amount": "1000000000",
"decimals": 6,
"uiAmount": 1000,
"uiAmountString": "1000"
}
}
}Returns balance + decimals + UI amount for an SPL-token account address (not the wallet — the token account itself).
curl --request POST \
--url https://ca.raze.sh/ \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getTokenAccountBalance",
"params": [
"DhzDoryP2a4rMK2bcWwJxrE2uW6ir81mSFWbdkPVtQB"
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"slot": 418263080
},
"value": {
"amount": "1000000000",
"decimals": 6,
"uiAmount": 1000,
"uiAmountString": "1000"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.