eth_getBlockReceipt
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: EVM(dataset: combined) archive full history combined archive + realtime in one result Archive and comb
What it returns
- block hash
- block number
- from
- to
- transaction hash
- transaction index
- contract address
- cumulative gas used
- gas used
- status
- receipt type
Filters
- block number is 20525804
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# EVM(dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
query MyQuery {
EVM {
Transactions(where: {Block: {Number: {eq: "20525804"}}}) {
Block {
Hash
Number
}
Transaction {
From
To
Hash
Index
}
Receipt {
ContractAddress
CumulativeGasUsed
GasUsed
Status
Type
}
}
}
}
Similar queries
- Wwa to nie london · Ethereum · Transactions
- transactions · Ethereum · Transactions
- Solos · Ethereum · Transactions
- Get transactions by wallet · Ethereum · Transactions
- eth latest activity · Ethereum · Transfers