bsc tx gas

Returns transactions on Ethereum and BNB Chain, where tx hash is 0x11d0…5ac3: block height, timestamp time, amount, currency symbol, creates address, annotation, error and 7 more fields.

By gaurav · saved 21 October 2022 · run 26 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
      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)
      gasPrice
      gas
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "bsc",
  "hash": "0x11d05c44a4ed7d07fb6c93a54fade25b995468f279dd1f4c4fc0d03b00715ac3"
}

Similar queries