Package: core
Defined in: clients/core.ts:163
Parameters
config
TurnkeySDKClientConfig
required
base URL for the Turnkey API.
ID for the auth proxy configuration.
configuration for the passkey stamper.
Show passkeyConfig details
config.passkeyConfig.allowCredentials
PublicKeyCredentialDescriptor[]
list of credentials to pass. Defaults to empty.
config.passkeyConfig.extensions
optional extensions. Defaults to empty.
config.passkeyConfig.rpId
config.passkeyConfig.rpName
name for the Relying Party (RP). This is used in the passkey creation flow on mobile.
config.passkeyConfig.timeout
timeout value in milliseconds. Defaults to 5 minutes.
config.passkeyConfig.userVerification
UserVerificationRequirement
override for UV flag. Defaults to “preferred”.
config.passkeyConfig.withPlatformKey
option to force platform passkeys on native platforms.
config.passkeyConfig.withSecurityKey
option to force security passkeys on native platforms.
configuration for the wallet manager.
Show walletConfig details
config.walletConfig.chains
chains to support in the wallet manager.
config.walletConfig.chains.ethereum
config.walletConfig.chains.ethereum.native
config.walletConfig.chains.ethereum.walletConnectNamespaces
config.walletConfig.chains.solana
config.walletConfig.chains.solana.native
config.walletConfig.chains.solana.walletConnectNamespaces
config.walletConfig.features
features to enable in the wallet manager.
config.walletConfig.features.auth
config.walletConfig.features.connecting
config.walletConfig.walletConnect
configuration for WalletConnect.
Show walletConnect details
config.walletConfig.walletConnect.appMetadata
config.walletConfig.walletConnect.appMetadata.description
config.walletConfig.walletConnect.appMetadata.icons
config.walletConfig.walletConnect.appMetadata.name
config.walletConfig.walletConnect.appMetadata.url
config.walletConfig.walletConnect.projectId
apiKeyStamper
CrossPlatformApiKeyStamper
passkeyStamper
CrossPlatformPasskeyStamper
Response
A successful response returns the following fields: