bitquery_dex_trades
Pack: bitquery · Endpoint: https://gateway.pipeworx.io/bitquery/mcp
Recent DEX trades for a token — swaps involving an ERC-20 token across DEXs on an EVM chain (Bitquery). Returns trade time, DEX/protocol, buy & sell currency + amounts, price, tx hash, and maker. Example: bitquery_dex_trades({ token: “0xdAC17F958D2ee523a2206206994597C13D831ec7”, network: “eth”, limit: 20, _apiKey: “your-bitquery-token” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
token | string | yes | ERC-20 token contract address (e.g. “0xdAC17F958D2ee523a2206206994597C13D831ec7”). Required. |
network | string | no | EVM network enum (default “eth”). Options: eth, bsc, matic, arbitrum, base, optimism, avalanche, fantom, cronos, gnosis, klaytn, moonbeam, opbnb. |
limit | integer | no | Max trades to return (default 20, max 50). |
_apiKey | string | yes | Bitquery OAuth access token (Bearer). Generate at bitquery.io (free Developer tier). |
Example call
curl -X POST https://gateway.pipeworx.io/bitquery/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bitquery_dex_trades","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"bitquery": {
"url": "https://gateway.pipeworx.io/bitquery/mcp"
}
}
}
See Getting Started for client-specific install steps.