basic details of a token.. balance,, price change .. volume etc

Returns address details and DEX trades on Ethereum, where address is 0x5149…86ca, base currency is 0x5149…86ca and quote currency is 0xdac1…1ec7: annotation, address, contract type, attributes name, attributes value, currency symbol, currency name and 6 more fields.

By gaurav · saved 28 June 2021 · run 11 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    details: address(address: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}) {
      annotation
      address
      smartContract {
        contractType
        attributes {
          name
          value
        }
        currency {
          symbol
          name
          decimals
          tokenType
        }
      }
      balances {
        currency {
          name
          symbol
        }
        value
      }
    }
    otherinfo: dexTrades(
      baseCurrency: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}
      quoteCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
  		time: {since: "2021-06-01T00:00:00", till: "2021-06-03T00:00:00"}
   
    ) {
      timeInterval{
        day(count: 1)
      }
      tradeAmount(in: USD)
      quotePrice
    }

  }
}

Similar queries