OPNet
    Preparing search index...

    Class TransactionBase<T>Abstract

    This class is used to provide a base transaction. Transaction

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    blockNumber?: bigint

    The block number in which the transaction was included.

    burnedBitcoin: BigNumberish

    Returns the amount of satoshi that were burned in the transaction.

    The events of the transaction.

    gasUsed: bigint

    The amount of gas used by the transaction.

    hash: string

    The transaction "hash".

    id: string

    The transaction ID (hash).

    index: number

    The index of the transaction in the block.

    The inputs of the transaction.

    maxGasSat: BigNumberish

    The maximum amount of gas that can be spent by the transaction.

    OPNetType: T

    The type of the transaction.

    The outputs of the transaction.

    The proof of work challenge.

    priorityFee: BigNumberish

    The priority fee of the transaction.

    rawEvents: ContractEvents = {}
    rawRevert?: Buffer<ArrayBufferLike>

    If the transaction was reverted, this field will contain the revert message.

    receipt?: Buffer<ArrayBufferLike>

    The receipt of the transaction.

    receiptProofs: string[]

    The receipt proofs of the transaction.

    revert?: string

    If the transaction was reverted, this field will contain the revert message.

    specialGasUsed: bigint

    Special gas used by the transaction.