BlockTransaction
A transaction as viewed within a block context.
This is a lighter-weight representation than the full Transaction type, optimized for block transaction lists.
Schema Definition
type BlockTransaction {
hash: TransactionHash!
from: Address!
to: Address
value: TokenAmount!
gas: GasInfo!
nonce: Int!
timestamp: Timestamp!
status: TransactionStatus
}
Fields
| Field | Type | Description |
|---|---|---|
hash | Unique 256-bit hash identifying this transaction. | |
from | Address that initiated and signed this transaction. | |
to | Address interface | Recipient address of this transaction. Null for contract creation transactions. |
value | Amount of native currency transferred in this transaction, including raw and formatted values. | |
gas | Gas-related information including limit, price, and usage. | |
nonce | The sender's transaction count at the time this transaction was submitted. Used to order transactions from the same sender. | |
timestamp | Timestamp when this transaction was included in a block. | |
status | TransactionStatus enum | Execution outcome of the transaction: SUCCESS, FAILED, or PENDING. |
Member Of
BlockTransactionList object