List Tokens
List all tokens from the Magna platform for the current project. Returns token details including ID, contract address, symbol, total supply, decimals, and chain. Ideal for: discovering available tokens, building token selectors, monitoring token metadata across chains.
Catalog action Integrations magna
List all tokens from the Magna platform for the current project. Returns token details including ID, contract address, symbol, total supply, decimals, and chain. Ideal for: discovering available tokens, building token selectors, monitoring token metadata across chains.
At a Glance
| Field | Value |
|---|---|
| Action ID | magna-list-tokens |
| Category | Integrations |
| Connector | magna |
| Requires gas | No |
| Funds movement | None declared |
| Tags | magna, token, list, read |
Payload Schema
This action does not declare payload fields.
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
isProcessed | boolean | Yes | Whether the request was processed successfully. |
result | object | Yes | Tokens list result. |
Examples
json{ "type": "magna-list-tokens", "payload": {}, "children": [], "connector": { "type": "magna", "id": "conn_magna" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/magna-list-tokens/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": {}}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
