OPNet
    Preparing search index...

    Interface IGenericTransaction

    This interface represents a generic transaction. IGenericTransaction

    interface IGenericTransaction {
        blockNumber?: string | bigint;
        burnedBitcoin: BigNumberish;
        events?: RawContractEvents | ContractEvents;
        gasUsed: string | bigint;
        hash: string;
        id: string;
        index: number;
        inputs: ITransactionInput[] | TransactionInput[];
        OPNetType: Generic;
        outputs: ITransactionOutput[] | TransactionOutput[];
        pow?: ProofOfWorkChallenge | RawProofOfWorkChallenge;
        priorityFee: BigNumberish;
        receipt?: string | Buffer<ArrayBufferLike>;
        receiptProofs?: string[];
        revert?: string | Buffer<ArrayBufferLike>;
        specialGasUsed: string | bigint;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    blockNumber?: string | 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: 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: Generic

    The type of the transaction.

    The outputs of the transaction.

    The raw proof of work challenge.

    priorityFee: BigNumberish

    The priority fee of the transaction.

    receipt?: string | Buffer<ArrayBufferLike>

    The receipt of the transaction.

    receiptProofs?: string[]

    The receipt proofs of the transaction.

    revert?: string | Buffer<ArrayBufferLike>

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

    specialGasUsed: string | bigint

    Special gas used by the transaction.