Skip to main content
Version: Next

Interface: ProviderOptions

Hierarchy

Properties

nodeUrl

Optional nodeUrl: string

Inherited from

RpcProviderOptions.nodeUrl

Defined in

src/provider/types/configuration.type.ts:8


retries

Optional retries: number

Inherited from

RpcProviderOptions.retries

Defined in

src/provider/types/configuration.type.ts:9


transactionRetryIntervalFallback

Optional transactionRetryIntervalFallback: number

Inherited from

RpcProviderOptions.transactionRetryIntervalFallback

Defined in

src/provider/types/configuration.type.ts:10


headers

Optional headers: object

Inherited from

RpcProviderOptions.headers

Defined in

src/provider/types/configuration.type.ts:11


blockIdentifier

Optional blockIdentifier: BlockIdentifier

Inherited from

RpcProviderOptions.blockIdentifier

Defined in

src/provider/types/configuration.type.ts:12


chainId

Optional chainId: "0x534e5f4d41494e" | "0x534e5f5345504f4c4941"

Inherited from

RpcProviderOptions.chainId

Defined in

src/provider/types/configuration.type.ts:13


specVersion

Optional specVersion: "0.8.1" | "0.9.0"

Inherited from

RpcProviderOptions.specVersion

Defined in

src/provider/types/configuration.type.ts:14


default

Optional default: boolean

Inherited from

RpcProviderOptions.default

Defined in

src/provider/types/configuration.type.ts:15


waitMode

Optional waitMode: boolean

Inherited from

RpcProviderOptions.waitMode

Defined in

src/provider/types/configuration.type.ts:16


baseFetch

Optional baseFetch: (input: RequestInfo | URL, init?: RequestInit) => Promise<Response>

Type declaration

▸ (input, init?): Promise<Response>

Parameters
NameType
inputRequestInfo | URL
init?RequestInit
Returns

Promise<Response>

Inherited from

RpcProviderOptions.baseFetch

Defined in

src/provider/types/configuration.type.ts:17


resourceBoundsOverhead

Optional resourceBoundsOverhead: ResourceBoundsOverhead

Inherited from

RpcProviderOptions.resourceBoundsOverhead

Defined in

src/provider/types/configuration.type.ts:18


batch

Optional batch: number | false

Inherited from

RpcProviderOptions.batch

Defined in

src/provider/types/configuration.type.ts:19