BlockTransaction
The BlockTransaction object represents a transaction included within a specific block.
Schema Definition
type BlockTransaction {
hash: String!
timestamp: UInt64!
to: String
from: String
gas: UInt64!
gasPrice: UInt256
gasTipCap: UInt256
gasFeeCap: UInt256
value: UInt256
nonce: UInt64!
}
Fields
| Field | Type | Description |
|---|---|---|
hash | String! non-null scalar | The unique transaction hash used to identify this transaction on the blockchain. |
timestamp | UInt64! non-null scalar | Unix timestamp (in seconds) when the transaction was first confirmed. |
to | String scalar | The recipient address. Returns null for contract creation transactions. |
from | String scalar | The sender address that initiated the transaction. |
gas | UInt64! non-null scalar | The gas limit allocated for this transaction. |
gasPrice | UInt256 scalar | Legacy gas price in wei (used in pre-EIP-1559 transactions). Returns null for EIP-1559 transactions. |
gasTipCap | UInt256 scalar | Maximum priority fee per gas in wei (EIP-1559). Returns null for legacy transactions. |
gasFeeCap | UInt256 scalar | Maximum total fee per gas in wei (EIP-1559). Returns null for legacy transactions. |
value | UInt256 scalar | Amount of native currency (e.g., ETH) transferred in wei. Use value / 10^18 to convert to ETH. |
nonce | UInt64! non-null scalar | Transaction sequence number from the sender's account. |
Member Of
BlockTransactionList object