@acala-network/chopsticks-core • Docs
@acala-network/chopsticks-core / processOptions
Function: processOptions()
processOptions(
options
):Promise
<object
>
Parameters
• options: SetupOptions
Returns
Promise
<object
>
allowUnresolvedImports?
optional
allowUnresolvedImports:boolean
api
api:
Api
block?
optional
block:null
|string
|number
blockHash
blockHash:
string
buildBlockMode?
optional
buildBlockMode:BuildBlockMode
db?
optional
db:Database
endpoint?
optional
endpoint:string
|string
[]
genesis?
optional
genesis:GenesisProvider
hooks?
optional
hooks:object
hooks.apiFetching()?
optional
apiFetching: () =>void
Returns
void
maxMemoryBlockCount?
optional
maxMemoryBlockCount:number
mockSignatureHost?
optional
mockSignatureHost:boolean
offchainWorker?
optional
offchainWorker:boolean
processQueuedMessages?
optional
processQueuedMessages:boolean
registeredTypes?
optional
registeredTypes:RegisteredTypes
runtimeLogLevel?
optional
runtimeLogLevel:number