Retrieve a list of all token objects for the project containing details such as token ID, address, symbol, total supply, decimals, chain, and any additional metadata.
Example request:
curl -X GET <https://app.magna.so/api/external/v1/tokens> \\ -H 'Content-Type: application/json' \\ -H 'x-magna-api-token: magna_project_api_token'
magna_project_api_token (required) - replace with your actual Magna API token
Response example:
{ "isProcessed": true, "result": { "items": [ { "id": "d94ac97e-504a-4e26-b75c-03afae134849", "address": "0xc1bf91946E8CaF19cad76c7D1A00c6081b85AC98", "symbol": "MAG", "totalSupply": "1000000", "decimals": 18, "chain": "Ethereum Sepolia", "createdAt": "2024-02-16T17:24:20.000Z", "updatedAt": "2024-02-16T17:48:51.000Z" } ], "total": 1 } }
Last updated 10 months ago
Was this helpful?