Type Alias AbstractCall

AbstractCall: { gasLimit?: bigint; to: Address } & OneOf<
    | { data?: Hex; value: bigint }
    | { data: Hex; value?: bigint }
    | { data: Hex; value: bigint },
>

Represents an abstract call to be executed in the transaction. Each call specifies a target contract and optional parameters.

Type declaration

  • OptionalgasLimit?: bigint

    Gas limit for the call execution. Defaults to 500_000n. Overestimated gas will be refunded.

  • to: Address

    Address of the contract to call