eth_getTransactionByHash
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 time
- block number
- chain ID
- r
- s
- v
- from
- gas
- gas price
- transaction hash
- transaction index
- nonce
- cost
- data
- to
- transaction value
- access list address
- storage keys
- gas fee cap
- transaction type
- success
Filters
- transaction hash is 0xcc9c…9fbe
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 getTransactionByHash {
EVM {
Transactions(
where: {Transaction: {Hash: {is: "0xcc9ce436a02e8a4b44546affebe036fdd54b70c27ea3c2df18c0a1ed78ec9fbe"}}}
) {
Block {
Time
Number
}
ChainId
Signature {
R
S
V
}
Transaction {
From
Gas
GasPrice
Hash
Index
Nonce
Cost
Data
To
Value
AccessList {
Address
StorageKeys
}
GasFeeCap
Type
}
TransactionStatus {
Success
}
}
}
}
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