NFT with variables

network, limit, token, dateFormat

Returns the latest transfer on Ethereum, where currency smart contract is 0xbc4c…f13d: block time, coinbase, block hash, currency symbol, currency name, protocol name, smart contract and 6 more fields.

By Nadia · saved 8 May 2023 · run 6 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $token: String!) {
  EVM(network: $network) {
    Transfers(
      where: {Transfer: {Currency: {Fungible: false, SmartContract: {is: $token}}}}
      orderBy: {descending: Block_Time}
      limit: {count: $limit}
    ) {
      Block {
        Time
        Coinbase
        Hash
      }
      Transfer {
        Currency {
          Symbol
          Name
          ProtocolName
          SmartContract
        }
        Id
        URI
        Sender
        Receiver
        Type
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": "1",
  "token": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
   "dateFormat": "%Y-%m-%d"
}

Similar queries