Interface: ProviderOptions
Defined in: src/provider/types/configuration.type.ts:6
Extends
Properties
nodeUrl?
optionalnodeUrl?:string
Defined in: src/provider/types/configuration.type.ts:9
Inherited from
RpcProviderOptions.nodeUrl
retries?
optionalretries?:number
Defined in: src/provider/types/configuration.type.ts:13
Define the number of retries for waitForTransaction
Inherited from
RpcProviderOptions.retries
transactionRetryIntervalFallback?
optionaltransactionRetryIntervalFallback?:number
Defined in: src/provider/types/configuration.type.ts:17
Define the time interval between retries in milliseconds
Inherited from
RpcProviderOptions.transactionRetryIntervalFallback
headers?
optionalheaders?:object
Defined in: src/provider/types/configuration.type.ts:21
Define the headers
Inherited from
RpcProviderOptions.headers
blockIdentifier?
optionalblockIdentifier?:BlockIdentifier
Defined in: src/provider/types/configuration.type.ts:22
Inherited from
RpcProviderOptions.blockIdentifier
chainId?
optionalchainId?:"0x534e5f4d41494e"|"0x534e5f5345504f4c4941"
Defined in: src/provider/types/configuration.type.ts:23
Inherited from
RpcProviderOptions.chainId
specVersion?
optionalspecVersion?:"0.9.0"|"0.10.0"|"0.10.2"|"0.10.3"
Defined in: src/provider/types/configuration.type.ts:24
Inherited from
RpcProviderOptions.specVersion
waitMode?
optionalwaitMode?:boolean
Defined in: src/provider/types/configuration.type.ts:25
Inherited from
RpcProviderOptions.waitMode
baseFetch?
optionalbaseFetch?: (input,init?) =>Promise<Response>
Defined in: src/provider/types/configuration.type.ts:26
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Inherited from
RpcProviderOptions.baseFetch
resourceBoundsOverhead?
optionalresourceBoundsOverhead?:false|ResourceBoundsOverhead
Defined in: src/provider/types/configuration.type.ts:27
Inherited from
RpcProviderOptions.resourceBoundsOverhead
batch?
optionalbatch?:number|false
Defined in: src/provider/types/configuration.type.ts:28
Inherited from
RpcProviderOptions.batch
plugins?
optionalplugins?:false|StarknetPlugin<any,any>[]
Defined in: src/plugins/types.ts:103
Plugins to install.
undefined(default): install defaultPlugins (starknetId, brotherId)- explicit array: install exactly these plugins
false: no plugins
Inherited from
RpcProviderOptions.plugins