Type for transaction receipt.

interface TransactionReceipt {
    gasPayer: string;
    gasUsed: number;
    maxFeePerGas?: string;
    maxPriorityFeePerGas?: string;
    meta: TransactionMetadata;
    outputs: Output[];
    paid: string;
    reverted: boolean;
    reward: string;
}

Properties

gasPayer: string

For delegated transactions the gas payer

gasUsed: number

Gas used in the transaction

maxFeePerGas?: string

The maximum fee per gas for the transaction.

maxPriorityFeePerGas?: string

The maximum priority fee per gas for the transaction.

meta: TransactionMetadata

Data associated with the transaction e.g. blockID, blockNumber, txID

outputs: Output[]

Outputs of the transaction, e.g. contract, events, transfers

paid: string

Energy paid for used gas

reverted: boolean

If the transaction has been reverted

reward: string

Energy reward given to block proposer