Type alias RpcBaseOptions

RpcBaseOptions: {
    commitment?: Commitment;
    id?: string;
    minContextSlot?: number;
    signal?: GenericAbortSignal;
}

Defines the common options re-used by all the methods defines in the RPC interface.

Type declaration

  • Optional commitment?: Commitment

    The commitment level to use when fetching data.

  • Optional id?: string

    An explicit RPC request identifier.

  • Optional minContextSlot?: number

    The minimum slot to use when fetching data.

  • Optional signal?: GenericAbortSignal

    An abort signal to prematurely cancel the request.

Generated using TypeDoc