(WIP) fetch recent pairs + volume

Returns the latest 10 arguments on Ethereum and BNB Chain, where smart contract address is 0xBCfC…2812, smart contract event is PairCreated and argument is pair: block height, argument name, reference address and trade amount.

By Ildan · saved 29 April 2021 · Bitquery API v1

What it returns

Filters

The query

{
ethereum(network: bsc){
arguments(smartContractAddress:
{is: "0xBCfCcbde45cE874adCB698cC183deBcF17952812"},
smartContractEvent: {is: "PairCreated"},
argument: {is: "pair"},
options: {desc: "block.height", limit: 10}){
block {
height
}
argument {
name
}
reference {
address
}
tradeAmount(in: USD)
}
}}

Similar queries