TransactionsExpandedBlockDetail is an interface representing detailed information about transactions in a blockchain block.

interface TransactionsExpandedBlockDetail {
    blockRef: string;
    chainTag: string;
    clauses: TransactionClause[];
    delegator: string;
    dependsOn: string;
    expiration: number;
    gas: number;
    gasPayer: string;
    gasPriceCoef?: number;
    gasUsed: number;
    id: string;
    maxFeePerGas?: string;
    maxPriorityFeePerGas?: string;
    nonce: string;
    origin: string;
    outputs: Output[];
    paid: string;
    reverted: boolean;
    reward: string;
    size: number;
    type?: number;
}

Properties

blockRef: string

Reference to the block.

chainTag: string

Chain tag of the blockchain.

clauses: TransactionClause[]

Clauses represent the individual conditions or terms in a blockchain transaction.

delegator: string

The address of the gas-payer of the transaction.

NOTE!

  • The property name delegator is exposed by Tx response of the end-point Retrieve a block with query set as ?expanded=true.
  • In the rest of the SDK the address of the sponsor of the transaction is exposed by properties named gasPayer. It's suggested to read as "delegated" the term written as "delegator".
  • This interface exposes the property gasPayer to express the address of the sponsor of the transaction, either origin or delegator.
dependsOn: string

Transaction dependency.

expiration: number

Expiration timestamp of the transaction.

gas: number

Gas limit for the transaction.

gasPayer: string

Account paying for the gas.

gasPriceCoef?: number

Gas price coefficient for the transaction.

gasUsed: number

Gas used by the transaction.

id: string

Unique identifier for the transaction.

maxFeePerGas?: string

The maximum amount that can be spent to pay for base fee and priority fee expressed in hex. This is an optional hexadecimal expression or null.

maxPriorityFeePerGas?: string

The maximum amount that can be spent to pay for base fee and priority fee expressed in hex. This is an optional hexadecimal expression or null.

nonce: string

Nonce value for preventing replay attacks.

origin: string

Origin (sender) of the transaction.

outputs: Output[]

Outputs represent the results or consequences of a blockchain transaction.

paid: string

Amount paid for the transaction.

reverted: boolean

Indicates if the transaction is reverted.

reward: string

Reward associated with the transaction.

size: number

Size of the transaction in bytes.

type?: number

Type of the transaction (ex: type 81).