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://www.donate.gg/api/v1/{chainId}/tokens/{address}" \ -H "donate-api-key: YOUR_API_KEY"
chainId
address
{ "chain": { "id": 1, "name": "Ethereum", "type": "EVM" }, "token": { "address": "0xA0b8...", "name": "USD Coin", "symbol": "USDC", "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": "0xCreator..." }
400
VALIDATION_ERROR
CHAIN_NOT_SUPPORTED
404
NOT_FOUND
Was this page helpful?