Get Pool Tokens Info
Retrieves metadata for both tokens in a DEX pool by network and pool address. Returns token info, GT scores, holder distribution, and security flags for base and quote tokens. Ideal for: token due diligence, security analysis, verifying pool token authenticity.
Catalog action Blockchain Data
Retrieves metadata for both tokens in a DEX pool by network and pool address. Returns token info, GT scores, holder distribution, and security flags for base and quote tokens. Ideal for: token due diligence, security analysis, verifying pool token authenticity.
At a Glance
| Field | Value |
|---|---|
| Action ID | coingecko-get-pool-tokens-info |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | coingecko, onchain, pool, token, info, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
network | string | Yes | Network ID (e.g., 'eth', 'bsc', 'polygon_pos'). |
poolAddress | string | Yes | Pool contract address. |
include | string | No | Include 'pool' to get pool metadata. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
tokens | array | Yes | Token metadata for both tokens in the pool. |
pool | object | No | - |
Examples
json{ "type": "coingecko-get-pool-tokens-info", "payload": { "network": "example-network", "poolAddress": "0x0000000000000000000000000000000000000000" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/coingecko-get-pool-tokens-info/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "network": "example-network", "poolAddress": "0x0000000000000000000000000000000000000000" }}'
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.
