Skip to main content
Version: Next

Interface: ProviderOptions

types.ProviderOptions

Hierarchy​

Properties​

nodeUrl​

• Optional nodeUrl: string

Inherited from​

RpcProviderOptions.nodeUrl

Defined in​

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


retries​

• Optional retries: number

Inherited from​

RpcProviderOptions.retries

Defined in​

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


transactionRetryIntervalFallback​

• Optional transactionRetryIntervalFallback: number

Inherited from​

RpcProviderOptions.transactionRetryIntervalFallback

Defined in​

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


headers​

• Optional headers: object

Inherited from​

RpcProviderOptions.headers

Defined in​

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


blockIdentifier​

• Optional blockIdentifier: BlockIdentifier

Inherited from​

RpcProviderOptions.blockIdentifier

Defined in​

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


chainId​

• Optional chainId: StarknetChainId

Inherited from​

RpcProviderOptions.chainId

Defined in​

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


specVersion​

• Optional specVersion: SupportedRpcVersion

Inherited from​

RpcProviderOptions.specVersion

Defined in​

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


default​

• Optional default: boolean

Inherited from​

RpcProviderOptions.default

Defined in​

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


waitMode​

• Optional waitMode: boolean

Inherited from​

RpcProviderOptions.waitMode

Defined in​

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


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:22


feeMarginPercentage​

• Optional feeMarginPercentage: FeeMarginPercentage

Inherited from​

RpcProviderOptions.feeMarginPercentage

Defined in​

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


batch​

• Optional batch: number | false

Inherited from​

RpcProviderOptions.batch

Defined in​

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