token
Token metadata for a single mint.
Name, symbol, decimals, and supply for one mint on the market. Returns a single data point.
Try it
Sign in to run live
Connect your wallet to send this request against the live API and see the response inline.
- Change wallet
Parameters
mintoptional
string
Token mint to look up (base58).
Request
Transport
curl -X POST https://rpc.raptor.trade \
-H "Authorization: Bearer $RAPTOR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "solana::market::token",
"params": {
"mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
}
}'Response
Responses are always a JSON array - one entry per request - and each entry's result holds the array of data. The shape is identical over HTTP and WebSocket.
[
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"id": 1024,
"mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
"name": "Bonk",
"symbol": "BONK",
"decimals": "5",
"supply": "92692010348476"
}
]
}
]Fields
Numbers come back as strings and timestamps as ISO-8601 strings; every data point carries a stable id. See Data model.
mintUtf8
Token mint.
nameUtf8
Token name.
symbolUtf8
Token symbol.
decimalsUint1
Token decimals.
supplyUint8
Total supply, raw units.
Errors
Invalid parameters return -32602; an unknown method returns -32601. See Errors for the full table.
