get_tokens_networks_onchain_trades
Query recent on-chain trades for a specific token across all pools on a network to analyze trading activity and volume within the past 24 hours.
Instructions
When using this tool, always use the jq_filter parameter to reduce the response size and improve performance.
Only omit if you're sure you don't need the data.
This endpoint allows you to query the last 300 trades in the past 24 hours, across all pools, based on the provided token contract address on a network
Response Schema
{
$ref: '#/$defs/trade_get_response',
$defs: {
trade_get_response: {
type: 'object',
properties: {
data: {
type: 'array',
items: {
type: 'object',
properties: {
id: {
type: 'string'
},
attributes: {
type: 'object',
properties: {
block_number: {
type: 'integer'
},
block_timestamp: {
type: 'string'
},
from_token_address: {
type: 'string'
},
from_token_amount: {
type: 'string'
},
kind: {
type: 'string'
},
pool_address: {
type: 'string'
},
pool_dex: {
type: 'string'
},
price_from_in_currency_token: {
type: 'string'
},
price_from_in_usd: {
type: 'string'
},
price_to_in_currency_token: {
type: 'string'
},
price_to_in_usd: {
type: 'string'
},
to_token_address: {
type: 'string'
},
to_token_amount: {
type: 'string'
},
tx_from_address: {
type: 'string'
},
tx_hash: {
type: 'string'
},
volume_in_usd: {
type: 'string'
}
}
},
type: {
type: 'string'
}
}
}
}
}
}
}
}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | ||
| token_address | Yes | ||
| trade_volume_in_usd_greater_than | No | filter trades by trade volume in USD greater than this value Default value: 0 | |
| jq_filter | No | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/). |