Skip to main content
Version: Next

Type Alias: RpcProviderOptions

RpcProviderOptions = object & PluginConfig

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

Type Declaration

nodeUrl?

optional nodeUrl?: string | NetworkName

retries?

optional retries?: waitForTransactionOptions["retries"]

Define the number of retries for waitForTransaction

transactionRetryIntervalFallback?

optional transactionRetryIntervalFallback?: number

Define the time interval between retries in milliseconds

headers?

optional headers?: object

Define the headers

blockIdentifier?

optional blockIdentifier?: BlockIdentifier

chainId?

optional chainId?: StarknetChainId

specVersion?

optional specVersion?: SupportedRpcVersion

waitMode?

optional waitMode?: boolean

baseFetch?

optional baseFetch?: WindowOrWorkerGlobalScope["fetch"]

resourceBoundsOverhead?

optional resourceBoundsOverhead?: ResourceBoundsOverhead | false

batch?

optional batch?: false | number