Skip to main content

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

FieldTypeDescription
hash
TransactionHash! non-null scalar
Unique 256-bit hash identifying this transaction.
from
Address! non-null interface
Address that initiated and signed this transaction.
to
Address interface
Recipient address of this transaction. Null for contract creation transactions.
value
TokenAmount! non-null object
Amount of native currency transferred in this transaction, including raw and formatted values.
gas
GasInfo! non-null object
Gas-related information including limit, price, and usage.
nonce
Int! non-null scalar
The sender's transaction count at the time this transaction was submitted. Used to order transactions from the same sender.
timestamp
Timestamp! non-null scalar
Timestamp when this transaction was included in a block.
statusExecution outcome of the transaction: SUCCESS, FAILED, or PENDING.

Member Of

BlockTransactionList object