OPNet
    Preparing search index...

    Class CallResult<T, U>

    Represents the result of a contract call.

    Type Parameters

    Implements

    Index

    Constructors

    Properties

    accessList: IAccessList
    address: undefined | Address
    calldata: undefined | Buffer<ArrayBufferLike>
    csvAddress: undefined | IP2WSHAddress
    estimatedGas: undefined | bigint
    estimatedRefundedGasInSat: bigint = 0n
    estimatedSatGas: bigint = 0n
    events: U = ...
    fromAddress: undefined | Address
    loadedStorage: undefined | LoadedStorage
    properties: T = ...
    refundedGas: undefined | bigint
    result: BinaryReader
    revert: undefined | string
    to: undefined | string

    Accessors

    Methods

    • Parameters

      • estimatedGas: bigint
      • refundedGas: bigint

      Returns void

    • Parameters

      • revertDataBytes: Buffer<ArrayBufferLike> | Uint8Array<ArrayBufferLike>

      Returns string