Interface ITransactionBase<T>

This interface represents the base of a transaction. ITransactionBase

interface ITransactionBase<T> {
    burnedBitcoin: BigNumberish;
    events?: RawContractEvents | ContractEvents;
    gasUsed: string | bigint;
    hash: string;
    id: string;
    index: number;
    inputs: ITransactionInput[] | TransactionInput[];
    OPNetType: T;
    outputs: ITransactionOutput[] | TransactionOutput[];
    receipt?: string | Buffer;
    receiptProofs?: string[];
    revert?: string | Buffer;
}

Type Parameters

Hierarchy (view full)

Implemented by

Properties

burnedBitcoin: BigNumberish

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

The events of the transaction.

gasUsed: string | 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.

OPNetType: T

The type of the transaction.

The outputs of the transaction.

receipt?: string | Buffer

The receipt of the transaction.

receiptProofs?: string[]

The receipt proofs of the transaction.

revert?: string | Buffer

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