tx_gas_value

Returns transactions on Ethereum and klaytn, where tx hash is 0xcfcd…e547: block height, timestamp time, amount, currency symbol, creates address, annotation, error and 10 more fields.

By Omkar Acharekar · saved 11 July 2023 · run 3 times · 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
      gas_value_usd: gasValue(in: USD)
      txType
      feePayer
      feeRatio
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "klaytn",
  "hash": "0xcfcd840fe4b53110848ca2735f88505cbfcf76ed153a4061a73b1cc56d25e547"
}

Similar queries