issu

Returns transactions and transfers on Ethereum and Polygon, where tx hash is 0x100e…205f and currency is 0xe0b5…7db4: unixtime, hash, success, transaction hash, sender address, receiver address, amount and 2 more fields.

By jo · saved 21 July 2023 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query CoinQuery($tx_hashes: [String!] = "", $issuers: [String!] = "") {
  ethereum(network: matic) {
    transactions(txHash: {in: $tx_hashes}) {
      block {
        timestamp {
          unixtime
        }
      }
      hash
      success
    }
    transfers(txHash: {in: $tx_hashes}, currency: {in: $issuers}) {
      block {
        timestamp {
          unixtime
        }
      }
      transaction {
        hash
      }
      sender {
        address
      }
      receiver {
        address
      }
      amount
      currency {
        address
        decimals
      }
      success
    }
  }
}

Variables

{
  "tx_hashes": [
    "0x100ea58148af5d3809474efe7a11e989cbc2cb5d553cd20764afec8c9236205f"
  ],
  "issuers": ["0xe0b52e49357fd4daf2c15e02058dce6bc0057db4"]
}

Similar queries