Get market cap
Returns the latest address detail on Ethereum and BNB Chain, where address is 0xb09f…6b09, base currency is 0xb09f…6b09 and quote currency is 0x55d3…7955: annotation, address, contract type, attributes name, attributes value, currency symbol, currency name and 20 more fields.
What it returns
- annotation
- address
- contract type
- attributes name
- attributes value
- currency symbol
- currency name
- decimals
- token type
- balance
- amount
- token ID
- transaction hash
- block height
- buy currency symbol
- buy currency address
- sell currency symbol
- sell currency address
- buy amount
- sell amount
- any of time
- exchange name
- trade amount
- side
- base currency symbol
- quote currency symbol
- quote price
Filters
- address is 0xb09f…6b09
- base currency is 0xb09f…6b09
- quote currency is 0x55d3…7955
- exchange name is Pancake or Pancake v2
- amount is above 0
The query
{
ethereum(network: bsc) {
address(address: {is: "0xb09fe1613fe03e7361319d2a43edc17422f36b09"}) {
annotation
address
smartContract {
contractType
attributes {
name
value
}
currency {
symbol
name
decimals
tokenType
}
}
balance
}
transfers(date: {since: null, till: null}, amount: {gt: 0}) {
minted: amount(
calculate: sum
sender: {is: "0x0000000000000000000000000000000000000000"}
)
burned: amount(
calculate: sum
receiver: {is: "0x0000000000000000000000000000000000000000"}
)
currency(currency: {is: "0xb09fe1613fe03e7361319d2a43edc17422f36b09"}) {
symbol
name
tokenId
}
}
dexTrades(
options: {limit: 1, desc: "block.height"}
exchangeName: {in: ["Pancake", "Pancake v2"]}
baseCurrency: {is: "0xb09fe1613fe03e7361319d2a43edc17422f36b09"}
quoteCurrency: {in: "0x55d398326f99059ff775485246999027b3197955"}
) {
transaction {
hash
}
block {
height
}
buyCurrency {
symbol
address
}
sellCurrency {
symbol
address
}
buyAmount(calculate: maximum)
sellAmount(calculate: maximum)
any(of: time)
exchange {
name
}
tradeAmount(in: USD)
side
baseCurrency {
symbol
}
quoteCurrency {
symbol
}
quotePrice
}
transactions
}
}
Similar queries
- BITSCOIN-BTS · BNB Chain · Address
- bsc balance error · BNB Chain · Address
- bnb_balance_at_date · BNB Chain · Address
- yoo · BNB Chain · Address
- v1 bnb token balance example · BNB Chain · Address