Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Fetch a Charity Token by chain and token address
GET /{chainId}/tokens/{address}
curl "https://api.donate.gg/api/v1/{chainId}/tokens/{address}"
chainId
address
{ "chain": { "id": 101, "name": "Solana", "type": "solana" }, "token": { "address": "So11...", "name": "Example Token", "symbol": "EXMP", "decimals": 6 }, "activeConfig": { "id": { "hex": "0x1234...abcd", "base58": "3xYz..." }, "users": [], "charities": [{ "id": "charity_abc", "weight": "60", "...": "..." }] }, "previousConfigs": [ { "id": { "hex": "0xabcd...1234", "base58": "4AbC..." }, "users": [], "charities": [{ "id": "charity_def", "weight": "40", "...": "..." }] } ], "creatorAddress": "CreatorPubkey..." }
400
VALIDATION_ERROR
404
NOT_FOUND
503
PROVIDER_UNAVAILABLE
Was this page helpful?