Interface: ProviderOptions
Defined in: src/provider/types/configuration.type.ts:7
Extends
Properties
nodeUrl?
optionalnodeUrl?:string
Defined in: src/provider/types/configuration.type.ts:10
Inherited from
RpcProviderOptions.nodeUrl
retries?
optionalretries?:number
Defined in: src/provider/types/configuration.type.ts:14
Define the number of retries for waitForTransaction
Inherited from
RpcProviderOptions.retries
transactionRetryIntervalFallback?
optionaltransactionRetryIntervalFallback?:number
Defined in: src/provider/types/configuration.type.ts:18
Define the time interval between retries in milliseconds
Inherited from
RpcProviderOptions.transactionRetryIntervalFallback
headers?
optionalheaders?:object
Defined in: src/provider/types/configuration.type.ts:22
Define the headers
Inherited from
RpcProviderOptions.headers
blockIdentifier?
optionalblockIdentifier?:BlockIdentifier
Defined in: src/provider/types/configuration.type.ts:23
Inherited from
RpcProviderOptions.blockIdentifier
chainId?
optionalchainId?:"0x534e5f4d41494e"|"0x534e5f5345504f4c4941"
Defined in: src/provider/types/configuration.type.ts:24
Inherited from
RpcProviderOptions.chainId
specVersion?
optionalspecVersion?:"0.9.0"|"0.10.0"|"0.10.2"|"0.10.3"|"0.10.4"
Defined in: src/provider/types/configuration.type.ts:25
Inherited from
RpcProviderOptions.specVersion
waitMode?
optionalwaitMode?:boolean
Defined in: src/provider/types/configuration.type.ts:26
Inherited from
RpcProviderOptions.waitMode
baseFetch?
optionalbaseFetch?: (input,init?) =>Promise<Response>
Defined in: src/provider/types/configuration.type.ts:27
Parameters
input
RequestInfo | URL
init?
RequestInit
Returns
Promise<Response>
Inherited from
RpcProviderOptions.baseFetch
transport?
optionaltransport?:RpcTransport
Defined in: src/provider/types/configuration.type.ts:32
Carries JSON-RPC envelopes to the node. Defaults to an HttpTransport built from nodeUrl,
headers and baseFetch, so leaving it unset keeps the historical behaviour.
Inherited from
RpcProviderOptions.transport
resourceBoundsOverhead?
optionalresourceBoundsOverhead?:false|ResourceBoundsOverhead
Defined in: src/provider/types/configuration.type.ts:33
Inherited from
RpcProviderOptions.resourceBoundsOverhead
batch?
optionalbatch?:number|false
Defined in: src/provider/types/configuration.type.ts:34
Inherited from
RpcProviderOptions.batch
plugins?
optionalplugins?:false|StarknetPlugin<any,any>[]
Defined in: src/plugins/types.ts:106
Plugins to install.
undefined(default): install defaultPlugins (starknetId, brotherId, fastExecute, paymaster)- explicit array: install exactly these plugins
false: no plugins
On an Account, the paymaster option always installs the paymaster plugin, even with false
or with a list without it.
Inherited from
RpcProviderOptions.plugins