Skip to main content

Transaction

A transaction representing a transfer of value or contract interaction.

Schema Definition

type Transaction {
hash: TransactionHash!
timestamp: Timestamp!
from: Address!
to: Address
value: TokenAmount!
gas: GasInfo!
nonce: Int!
block: Block
confirmations: Int!
status: TransactionStatus
contractCreated: IContract
}

Fields

FieldTypeDescription
hash
TransactionHash! non-null scalar
Unique 256-bit hash identifying this transaction.
timestamp
Timestamp! non-null scalar
Timestamp when this transaction was included in a block.
from
Address! non-null interface
Address that initiated and signed this transaction.
to
Address interface
Recipient address. Null for contract creation transactions.
value
TokenAmount! non-null object
Amount of native currency transferred, including raw (wei) and formatted values.
gas
GasInfo! non-null object
Gas-related information including limit, price, and actual usage.
nonce
Int! non-null scalar
The sender's transaction count at the time of submission. Used to order transactions and prevent replays.
block
Block object
The block containing this transaction, or null if pending.
confirmations
Int! non-null scalar
Number of blocks mined after this transaction's block. Higher values indicate greater finality.
statusExecution outcome: SUCCESS if completed, FAILED if reverted, PENDING if not yet mined.
contractCreated
IContract interface
The contract created by this transaction, if this was a contract deployment.

Returned By

transaction query

Member Of

Contract object ● EOA object ● IContract interface ● NFTContract object ● SingleHolderNFT object ● Token object ● TransactionList object