txt_hash_gasvalue

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

By Oluwatomisin · saved 8 November 2023 · run 1 time · 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
      amount_usd: amount(in: USD)
      currency {
        symbol
      }
      creates {
        address
        annotation
      }
      error
      success
      sender {
        address
        annotation
      }
      to {
        address
        annotation
      }
      gas
      gasPrice
      gasCurrency {
        symbol
      }
      gasValue
      gas_value_usd: gasValue(in: USD)
    }
  }
}

Variables

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

Similar queries