matic transaction value

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

By gaurav · saved 30 April 2024 · 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": "matic",
  "hash": "0x76d337d944c6dddececf323a51bb47d574905e93ca46c65c27564c5f42d262a1"
}

Similar queries