Skip to main content

createFlowClient

Import

You can import the entire package and access the function:


_10
import * as fcl from "@onflow/fcl"
_10
_10
fcl.createFlowClient(params)

Or import directly the specific function:


_10
import { createFlowClient } from "@onflow/fcl"
_10
_10
createFlowClient(params)

Parameters

params

  • Type:

_21
export interface FlowClientConfig {
_21
accessNodeUrl: string
_21
flowNetwork?: string
_21
flowJson?: any
_21
discoveryWallet?: string
_21
discoveryWalletMethod?: string
_21
discoveryAuthnEndpoint?: string
_21
discoveryAuthnInclude?: string[]
_21
walletconnectProjectId?: string
_21
walletconnectDisableNotifications?: boolean
_21
storage?: StorageProvider
_21
appDetailTitle?: string
_21
appDetailIcon?: string
_21
appDetailDescription?: string
_21
appDetailUrl?: string
_21
serviceOpenIdScopes?: string[]
_21
transport?: SdkTransport
_21
computeLimit?: number
_21
customResolver?: any
_21
customDecoders?: any
_21
}

Returns

Promise<string>


Rate this page