Skip to main content
Version: 11.x

Type Alias: BatchClientOptions<T>

BatchClientOptions<T> = object

Defined in: src/utils/batch/index.ts:5

Type Parameters​

T​

T extends object

Properties​

nodeUrl​

nodeUrl: string

Defined in: src/utils/batch/index.ts:6


headers​

headers: object

Defined in: src/utils/batch/index.ts:7


interval​

interval: number

Defined in: src/utils/batch/index.ts:8


baseFetch​

baseFetch: NonNullable<RpcProviderOptions["baseFetch"]>

Defined in: src/utils/batch/index.ts:9


rpcMethods​

rpcMethods: T

Defined in: src/utils/batch/index.ts:10


transport?​

optional transport?: RpcTransport

Defined in: src/utils/batch/index.ts:16

Carries the batch to the node. Defaults to an HttpTransport built from nodeUrl, headers and baseFetch, which is what this client did on its own before the option existed.