hello

Returns transactions on Ethereum, where tx hash is 0xb0bd…454d: block height, timestamp time, amount, currency symbol, creates address, annotation, error and 7 more fields.

By Daniel · saved 18 February 2022 · Bitquery API v1

What it returns

Filters

The query

query ($network: EthereumNetwork!, $hash: String!) {
  ethereum(network: $network) {
    transactions(txHash: {is: $hash}) {
      block {
        height
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
      }
      amount
      currency {
        symbol
      }
      creates {
        address
        annotation
      }
      error
      success
      sender {
        address
        annotation
      }
      to {
        address
        annotation
      }
      gas
      gasPrice
      gasCurrency {
        symbol
      }
      gasValue
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "hash": "0xb0bd469bc3c4bfce5a25536861e611fc2d3cd79ad15f2a3cb1ac9d7bca03454d"
}

Similar queries