# Turnkey: API & SDK reference > ## Agent Instructions > Turnkey is wallet infrastructure: create and manage crypto wallets, sign transactions, and enforce policy-based access controls. Best-fit uses: embedded consumer wallets (email/passkey/social auth, no seed phrases), automated onchain operations with server-side wallets, AI agent wallets with policy-scoped signing, enterprise key management, and verifiable off-chain workloads on Turnkey Verifiable Cloud (TVC). > Every API call is a JSON POST to https://api.turnkey.com signed with a P-256 API key; create an organization and key self-serve at https://app.turnkey.com. > Key Turnkey developer resources: API reference (https://docs.turnkey.com/api-reference/overview/intro.md), OpenAPI spec (https://docs.turnkey.com/public_api.swagger.json), authentication (https://docs.turnkey.com/features/authentication/overview.md), webhooks (https://docs.turnkey.com/features/webhooks/overview.md), MCP server for docs search (https://docs.turnkey.com/mcp), skill for building with Turnkey (https://docs.turnkey.com/skill.md), agent skills for operating an organization (https://docs.turnkey.com/get-started/ai-skills.md), CLI (https://docs.turnkey.com/sdks/cli.md), SDK reference (https://docs.turnkey.com/sdks/introduction.md), full docs content (https://docs.turnkey.com/llms-full.txt). ## API & SDK reference ### REST API - [Turnkey API reference](https://docs.turnkey.com/api-reference/overview/intro.md): Turnkey's API is a remote procedure call (RPC) API. - [Stamps](https://docs.turnkey.com/api-reference/overview/stamps.md): Every request made to Turnkey must include a signature over the POST body attached as a HTTP header. Our secure enclave applications use this signature to verify the integrity and authenticity of the request. - [Raw payload signing](https://docs.turnkey.com/api-reference/overview/raw-payload-signing.md): Choose the hash function for ECDSA and Ed25519 signing, including prehashed payloads. - [Errors](https://docs.turnkey.com/api-reference/overview/errors.md): Error codes, messages, and troubleshooting guide for the Turnkey API. - [Activities](https://docs.turnkey.com/api-reference/activities/overview.md): Activities are requests to securely execute a workload in Turnkey. Submission endpoints are always prefixed with `/public/v1/submit`. - [Queries](https://docs.turnkey.com/api-reference/queries/overview.md): Queries are read requests to Turnkey's API. They allow you to retrieve data about your organization and its resources. #### Organizations & sub-orgs ##### Activities - [Create sub-organization](https://docs.turnkey.com/api-reference/activities/create-sub-organization.md): Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, a wallet authenticator, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). - [Create webhook endpoint](https://docs.turnkey.com/api-reference/activities/create-webhook-endpoint.md): Create a webhook endpoint for an organization. - [Delete sub-organization](https://docs.turnkey.com/api-reference/activities/delete-sub-organization.md): Delete a sub-organization. - [Delete webhook endpoint](https://docs.turnkey.com/api-reference/activities/delete-webhook-endpoint.md): Delete a webhook endpoint for an organization. - [Remove IP Allowlist](https://docs.turnkey.com/api-reference/activities/remove-ip-allowlist.md): Delete IP allowlist and all associated rules for organization or API key. After removal, access will be determined by organization-level allowlist (for API keys) or allowed from all IPs (for organizations). - [Remove organization feature](https://docs.turnkey.com/api-reference/activities/remove-organization-feature.md): Remove an organization feature. This activity must be approved by the current root quorum. - [Set IP Allowlist](https://docs.turnkey.com/api-reference/activities/set-ip-allowlist.md): Create or update IP allowlist and rules for organization or API key. The IP allowlist restricts API access to specific CIDR blocks. Organization-level allowlists apply to all API keys unless overridden by a key-specific allowlist. - [Set organization feature](https://docs.turnkey.com/api-reference/activities/set-organization-feature.md): Set an organization feature. This activity must be approved by the current root quorum. - [Update organization name](https://docs.turnkey.com/api-reference/activities/update-organization-name.md): Update the name of an organization. - [Update root quorum](https://docs.turnkey.com/api-reference/activities/update-root-quorum.md): Set the threshold and members of the root quorum. This activity must be approved by the current root quorum. - [Update webhook endpoint](https://docs.turnkey.com/api-reference/activities/update-webhook-endpoint.md): Update a webhook endpoint for an organization. ##### Queries - [Get configs](https://docs.turnkey.com/api-reference/queries/get-configs.md): Get quorum settings and features for an organization. - [Get IP Allowlist](https://docs.turnkey.com/api-reference/queries/get-ip-allowlist.md): Get IP allowlist and rules for an organization. - [Get sub-organizations](https://docs.turnkey.com/api-reference/queries/get-sub-organizations.md): Get all suborg IDs (verified and unverified) associated with a given parent organization ID and an optional filter. - [Get verified sub-organizations](https://docs.turnkey.com/api-reference/queries/get-verified-sub-organizations.md): Get all verified suborg IDs associated with a given parent organization ID and an optional filter. - [Get webhook JWKS](https://docs.turnkey.com/api-reference/queries/get-webhook-jwks.md): Fetch Turnkey webhook signature verification keys. - [List webhook endpoints](https://docs.turnkey.com/api-reference/queries/list-webhook-endpoints.md): List webhook endpoints within an organization. #### Users & access ##### Activities - [Create invitations](https://docs.turnkey.com/api-reference/activities/create-invitations.md): Create invitations to join an existing organization. - [Create user tag](https://docs.turnkey.com/api-reference/activities/create-user-tag.md): Create a user tag and add it to users. - [Create users](https://docs.turnkey.com/api-reference/activities/create-users.md): Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). - [Delete invitation](https://docs.turnkey.com/api-reference/activities/delete-invitation.md): Delete an existing invitation. - [Delete user tags](https://docs.turnkey.com/api-reference/activities/delete-user-tags.md): Delete user tags within an organization. - [Delete users](https://docs.turnkey.com/api-reference/activities/delete-users.md): Delete users within an organization. - [Update user](https://docs.turnkey.com/api-reference/activities/update-user.md): Update a user in an existing organization. - [Update user tag](https://docs.turnkey.com/api-reference/activities/update-user-tag.md): Update human-readable name or associated users. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail. - [Update user's email](https://docs.turnkey.com/api-reference/activities/update-users-email.md): Update a user's email in an existing organization. - [Update user's name](https://docs.turnkey.com/api-reference/activities/update-users-name.md): Update a user's name in an existing organization. - [Update user's phone number](https://docs.turnkey.com/api-reference/activities/update-users-phone-number.md): Update a user's phone number in an existing organization. ##### Queries - [Get user](https://docs.turnkey.com/api-reference/queries/get-user.md): Get details about a user. - [List email events](https://docs.turnkey.com/api-reference/queries/list-email-events.md): List email events for the organization. - [List user tags](https://docs.turnkey.com/api-reference/queries/list-user-tags.md): List all user tags within an organization. - [List users](https://docs.turnkey.com/api-reference/queries/list-users.md): List all users within an organization. #### Authentication & credentials ##### Activities - [Create an OAuth 2.0 credential](https://docs.turnkey.com/api-reference/activities/create-an-oauth-20-credential.md): Enable authentication for end users with an OAuth 2.0 provider. - [Create API keys](https://docs.turnkey.com/api-reference/activities/create-api-keys.md): Add API keys to an existing user. - [Create authenticators](https://docs.turnkey.com/api-reference/activities/create-authenticators.md): Create authenticators to authenticate requests to Turnkey. - [Create OAuth providers](https://docs.turnkey.com/api-reference/activities/create-oauth-providers.md): Create Oauth providers for a specified user. - [Create read only session](https://docs.turnkey.com/api-reference/activities/create-read-only-session.md): Create a read only session for a user (valid for 1 hour). - [Create read write session](https://docs.turnkey.com/api-reference/activities/create-read-write-session.md): Create a read write session for a user. - [Create session profile](https://docs.turnkey.com/api-reference/activities/create-session-profile.md): Create a new session profile for an organization. - [Create wallet authenticators](https://docs.turnkey.com/api-reference/activities/create-wallet-authenticators.md): Add wallet authenticators to an existing user. Omit verification_token to attach unverified. - [Delete an OAuth 2.0 credential](https://docs.turnkey.com/api-reference/activities/delete-an-oauth-20-credential.md): Disable authentication for end users with an OAuth 2.0 provider. - [Delete API keys](https://docs.turnkey.com/api-reference/activities/delete-api-keys.md): Remove API keys from a user. - [Delete authenticators](https://docs.turnkey.com/api-reference/activities/delete-authenticators.md): Remove authenticators from a user. - [Delete OAuth providers](https://docs.turnkey.com/api-reference/activities/delete-oauth-providers.md): Remove Oauth providers for a specified user. - [Delete wallet authenticators](https://docs.turnkey.com/api-reference/activities/delete-wallet-authenticators.md): Remove wallet authenticators from a user. - [Init email recovery](https://docs.turnkey.com/api-reference/activities/init-email-recovery.md): Initialize a new email recovery. - [Init generic OTP](https://docs.turnkey.com/api-reference/activities/init-generic-otp.md): Initiate a generic OTP activity. - [Init OTP auth](https://docs.turnkey.com/api-reference/activities/init-otp-auth.md): Initiate an OTP auth activity. - [Login with a stamp](https://docs.turnkey.com/api-reference/activities/login-with-a-stamp.md): Create a session for a user through stamping client side (API key, wallet client, or passkey client). - [Login with OAuth](https://docs.turnkey.com/api-reference/activities/login-with-oauth.md): Create an Oauth session for a user. - [Login with OTP](https://docs.turnkey.com/api-reference/activities/login-with-otp.md): Create an OTP session for a user. - [OAuth](https://docs.turnkey.com/api-reference/activities/oauth.md): Authenticate a user with an OIDC token (Oauth). - [OAuth 2.0 authentication](https://docs.turnkey.com/api-reference/activities/oauth-20-authentication.md): Authenticate a user with an OAuth 2.0 provider and receive an OIDC token to use with the LoginWithOAuth or CreateSubOrganization activities. - [OTP auth](https://docs.turnkey.com/api-reference/activities/otp-auth.md): Authenticate a user with an OTP code sent via email or SMS. - [Perform email auth](https://docs.turnkey.com/api-reference/activities/perform-email-auth.md): Authenticate a user via email. - [Recover a user](https://docs.turnkey.com/api-reference/activities/recover-a-user.md): Complete the process of recovering a user by adding an authenticator. - [Update an OAuth 2.0 credential](https://docs.turnkey.com/api-reference/activities/update-an-oauth-20-credential.md): Update an OAuth 2.0 provider credential. - [Verify generic OTP](https://docs.turnkey.com/api-reference/activities/verify-generic-otp.md): Verify a generic OTP. - [Verify wallet authenticator](https://docs.turnkey.com/api-reference/activities/verify-wallet-authenticator.md): Verify a SIWE or SIWS login and return an enclave-signed wallet verification token. ##### Queries - [Get API key](https://docs.turnkey.com/api-reference/queries/get-api-key.md): Get details about an API key. - [Get API keys](https://docs.turnkey.com/api-reference/queries/get-api-keys.md): Get details about API keys for a user. - [Get authenticator](https://docs.turnkey.com/api-reference/queries/get-authenticator.md): Get details about an authenticator. - [Get authenticators](https://docs.turnkey.com/api-reference/queries/get-authenticators.md): Get details about authenticators for a user. - [Get OAuth 2.0 credential](https://docs.turnkey.com/api-reference/queries/get-oauth-20-credential.md): Get details about an OAuth 2.0 credential. - [Get OAuth providers](https://docs.turnkey.com/api-reference/queries/get-oauth-providers.md): Get details about Oauth providers for a user. - [Get session profile](https://docs.turnkey.com/api-reference/queries/get-session-profile.md): Get a single session profile for an organization. - [Get session profiles](https://docs.turnkey.com/api-reference/queries/get-session-profiles.md): Get all session profiles for an organization. - [Get wallet authenticators](https://docs.turnkey.com/api-reference/queries/get-wallet-authenticators.md): Get wallet authenticators for a user. - [List OAuth 2.0 credentials](https://docs.turnkey.com/api-reference/queries/list-oauth-20-credentials.md): List all OAuth 2.0 credentials within an organization. - [Who am I?](https://docs.turnkey.com/api-reference/queries/who-am-i.md): Get basic information about your current API or WebAuthn user and their organization. Affords sub-organization lookups via parent organization for WebAuthn or API key users. #### Policies & approvals ##### Activities - [Approve activity](https://docs.turnkey.com/api-reference/activities/approve-activity.md): Approve an activity. - [Create MFA policy](https://docs.turnkey.com/api-reference/activities/create-mfa-policy.md): Create a new MFA policy for a user. - [Create policies](https://docs.turnkey.com/api-reference/activities/create-policies.md): Create new policies. - [Create policy](https://docs.turnkey.com/api-reference/activities/create-policy.md): Create a new policy. - [Create smart contract interface](https://docs.turnkey.com/api-reference/activities/create-smart-contract-interface.md): Create an ABI/IDL in JSON. - [Delete MFA policy](https://docs.turnkey.com/api-reference/activities/delete-mfa-policy.md): Delete an MFA policy for a user. - [Delete policies](https://docs.turnkey.com/api-reference/activities/delete-policies.md): Delete existing policies. - [Delete policy](https://docs.turnkey.com/api-reference/activities/delete-policy.md): Delete an existing policy. - [Delete smart contract interface](https://docs.turnkey.com/api-reference/activities/delete-smart-contract-interface.md): Delete a smart contract interface. - [Reject activity](https://docs.turnkey.com/api-reference/activities/reject-activity.md): Reject an activity. - [Update MFA policy](https://docs.turnkey.com/api-reference/activities/update-mfa-policy.md): Update an MFA policy for a user. - [Update policy](https://docs.turnkey.com/api-reference/activities/update-policy.md): Update an existing policy. ##### Queries - [Get active policies](https://docs.turnkey.com/api-reference/queries/get-active-policies.md): For each policy in an organization, report whether it is currently active based on the enclave's trusted timestamp and the policy's time window (if any). Policies without a time field are always active. - [Get activity](https://docs.turnkey.com/api-reference/queries/get-activity.md): Get details about an activity. - [Get MFA policies](https://docs.turnkey.com/api-reference/queries/get-mfa-policies.md): Get all MFA policies for a user. - [Get MFA policy](https://docs.turnkey.com/api-reference/queries/get-mfa-policy.md): Get a single MFA policy for a user. - [Get MFA status](https://docs.turnkey.com/api-reference/queries/get-mfa-status.md): Get the MFA status of an activity for a specific user or all voting users. - [Get policy](https://docs.turnkey.com/api-reference/queries/get-policy.md): Get details about a policy. - [Get policy evaluations](https://docs.turnkey.com/api-reference/queries/get-policy-evaluations.md): Get the policy evaluations for an activity. - [Get smart contract interface](https://docs.turnkey.com/api-reference/queries/get-smart-contract-interface.md): Get details about a smart contract interface. - [List activities](https://docs.turnkey.com/api-reference/queries/list-activities.md): List all activities within an organization. - [List policies](https://docs.turnkey.com/api-reference/queries/list-policies.md): List all policies within an organization. - [List smart contract interfaces](https://docs.turnkey.com/api-reference/queries/list-smart-contract-interfaces.md): List all smart contract interfaces within an organization. #### Wallets & private keys ##### Activities - [Create private key tag](https://docs.turnkey.com/api-reference/activities/create-private-key-tag.md): Create a private key tag and add it to private keys. - [Create private keys](https://docs.turnkey.com/api-reference/activities/create-private-keys.md): Create new private keys. - [Create wallet](https://docs.turnkey.com/api-reference/activities/create-wallet.md): Create a wallet and derive addresses. - [Create wallet accounts](https://docs.turnkey.com/api-reference/activities/create-wallet-accounts.md): Derive additional addresses using an existing wallet. - [Delete private key tags](https://docs.turnkey.com/api-reference/activities/delete-private-key-tags.md): Delete private key tags within an organization. - [Delete private keys](https://docs.turnkey.com/api-reference/activities/delete-private-keys.md): Delete private keys for an organization. - [Delete secrets](https://docs.turnkey.com/api-reference/activities/delete-secrets.md): Delete secrets by their unique identifiers. All secrets must belong to the organization. - [Delete wallet accounts](https://docs.turnkey.com/api-reference/activities/delete-wallet-accounts.md): Delete wallet accounts for an organization. - [Delete wallets](https://docs.turnkey.com/api-reference/activities/delete-wallets.md): Delete wallets for an organization. - [Export private key](https://docs.turnkey.com/api-reference/activities/export-private-key.md): Export a private key. - [Export secrets](https://docs.turnkey.com/api-reference/activities/export-secrets.md): Export secrets encrypted to client-provided target public keys. - [Export wallet](https://docs.turnkey.com/api-reference/activities/export-wallet.md): Export a wallet. - [Export wallet account](https://docs.turnkey.com/api-reference/activities/export-wallet-account.md): Export a wallet account. - [Import private key](https://docs.turnkey.com/api-reference/activities/import-private-key.md): Import a private key. - [Import secrets](https://docs.turnkey.com/api-reference/activities/import-secrets.md): Import secrets encrypted to target keys returned from InitImportSecrets. - [Import wallet](https://docs.turnkey.com/api-reference/activities/import-wallet.md): Import a wallet. - [Init import private key](https://docs.turnkey.com/api-reference/activities/init-import-private-key.md): Initialize a new private key import. - [Init import secrets](https://docs.turnkey.com/api-reference/activities/init-import-secrets.md): Initialize secret imports by generating Ingress Encryption Target Keys. - [Init import wallet](https://docs.turnkey.com/api-reference/activities/init-import-wallet.md): Initialize a new wallet import. - [Update private key tag](https://docs.turnkey.com/api-reference/activities/update-private-key-tag.md): Update human-readable name or associated private keys. Note that this activity is atomic: all of the updates will succeed at once, or all of them will fail. - [Update wallet](https://docs.turnkey.com/api-reference/activities/update-wallet.md): Update a wallet for an organization. ##### Queries - [Get balances](https://docs.turnkey.com/api-reference/queries/get-balances.md): Get balances of supported assets for an address on the specified network. Only non-zero balances are returned. - [Get private key](https://docs.turnkey.com/api-reference/queries/get-private-key.md): Get details about a private key. - [Get wallet](https://docs.turnkey.com/api-reference/queries/get-wallet.md): Get details about a wallet. - [Get wallet account](https://docs.turnkey.com/api-reference/queries/get-wallet-account.md): Get a single wallet account. - [List Eth transaction history](https://docs.turnkey.com/api-reference/queries/list-eth-transaction-history.md): List Ethereum transaction history for a wallet address on the specified network. - [List private key tags](https://docs.turnkey.com/api-reference/queries/list-private-key-tags.md): List all private key tags within an organization. - [List private keys](https://docs.turnkey.com/api-reference/queries/list-private-keys.md): List all private keys within an organization. - [List secrets](https://docs.turnkey.com/api-reference/queries/list-secrets.md): List secret metadata for an organization. - [List Sol transaction history](https://docs.turnkey.com/api-reference/queries/list-sol-transaction-history.md): List Solana transaction history for a wallet address on the specified network. - [List supported assets](https://docs.turnkey.com/api-reference/queries/list-supported-assets.md): List supported assets for the specified network. - [List wallet accounts](https://docs.turnkey.com/api-reference/queries/list-wallet-accounts.md): List all accounts within a wallet. - [List wallets](https://docs.turnkey.com/api-reference/queries/list-wallets.md): List all wallets within an organization. #### Signing ##### Activities - [Claim Spark transfer](https://docs.turnkey.com/api-reference/activities/claim-spark-transfer.md): Construct receiver-side encrypted operator packages to claim a Spark transfer. Does not perform FROST signing. - [Prepare Spark transfer](https://docs.turnkey.com/api-reference/activities/prepare-spark-transfer.md): Construct sender-side encrypted operator packages for a Spark BTC transfer. Does not perform FROST signing. - [Sign Frost Spark](https://docs.turnkey.com/api-reference/activities/sign-frost-spark.md): Perform pure FROST partial signing for a Spark wallet. Produces partial signatures without constructing operator packages. - [Sign raw payload](https://docs.turnkey.com/api-reference/activities/sign-raw-payload.md): Sign a raw payload. - [Sign raw payloads](https://docs.turnkey.com/api-reference/activities/sign-raw-payloads.md): Sign multiple raw payloads with the same signing parameters. - [Sign transaction](https://docs.turnkey.com/api-reference/activities/sign-transaction.md): Sign a transaction. - [Spark prepare Lightning receive](https://docs.turnkey.com/api-reference/activities/spark-prepare-lightning-receive.md): Generate a Lightning preimage and distribute Feldman shares to operators for a Spark Lightning receive. Does not perform FROST signing. #### Transaction management ##### Activities - [Broadcast EVM transaction](https://docs.turnkey.com/api-reference/activities/broadcast-evm-transaction.md): Submit a transaction intent describing an EVM transaction you would like to broadcast. - [Broadcast SVM transaction](https://docs.turnkey.com/api-reference/activities/broadcast-svm-transaction.md): Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. - [Claim Earn fees](https://docs.turnkey.com/api-reference/activities/claim-earn-fees.md): Claim earn fees through the activity pipeline. - [Claim Earn rewards](https://docs.turnkey.com/api-reference/activities/claim-earn-rewards.md): Claim the Merkl protocol rewards attributed to a wallet's Earn positions. The claim is signed by the wallet itself and every reward token is transferred to it; see ListEarnRewards for what is claimable. - [Claim Swap fees](https://docs.turnkey.com/api-reference/activities/claim-swap-fees.md): Claim swap fees through the activity pipeline. - [Create a Fiat On Ramp credential](https://docs.turnkey.com/api-reference/activities/create-a-fiat-on-ramp-credential.md): Create a fiat on ramp provider credential. - [Create Swap quote](https://docs.turnkey.com/api-reference/activities/create-swap-quote.md): Create a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. Requests must use ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3, which returns its quotes in createSwapQuoteResultV2. - [Delete a Fiat On Ramp credential](https://docs.turnkey.com/api-reference/activities/delete-a-fiat-on-ramp-credential.md): Delete a fiat on ramp provider credential. - [Deploy Earn wrapper](https://docs.turnkey.com/api-reference/activities/deploy-earn-wrapper.md): Enable a yield vault for an organization by deploying its fee wrapper. Must be called before any deposits into the vault. - [Deposit into Earn vault](https://docs.turnkey.com/api-reference/activities/deposit-into-earn-vault.md): Deposit assets from a wallet into an enabled yield vault. - [Execute Swap](https://docs.turnkey.com/api-reference/activities/execute-swap.md): Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V3. - [Init Fiat On Ramp](https://docs.turnkey.com/api-reference/activities/init-fiat-on-ramp.md): Initiate a fiat on ramp flow. - [Set Earn wrapper state](https://docs.turnkey.com/api-reference/activities/set-earn-wrapper-state.md): Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed. - [Undelegate an EVM account](https://docs.turnkey.com/api-reference/activities/undelegate-an-evm-account.md): Submit an EIP-7702 undelegation transaction. - [Update a Fiat On Ramp credential](https://docs.turnkey.com/api-reference/activities/update-a-fiat-on-ramp-credential.md): Update a fiat on ramp provider credential. - [Upsert Swap config](https://docs.turnkey.com/api-reference/activities/upsert-swap-config.md): Enable or disable swap configuration for an organization. - [Upsert swap fee sponsorship limits](https://docs.turnkey.com/api-reference/activities/upsert-swap-fee-sponsorship-limits.md): Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. - [Upsert swap fixed rate limits](https://docs.turnkey.com/api-reference/activities/upsert-swap-fixed-rate-limits.md): Replace this feature's spending window. Requires the billing parent's signed permission and activity authorization. - [Withdraw from Earn vault](https://docs.turnkey.com/api-reference/activities/withdraw-from-earn-vault.md): Withdraw assets or redeem shares from an enabled yield vault. ##### Queries - [Get Earn claim fees status](https://docs.turnkey.com/api-reference/queries/get-earn-claim-fees-status.md): Poll the status of a fee claim by its claim_request_id. - [Get Earn claim rewards status](https://docs.turnkey.com/api-reference/queries/get-earn-claim-rewards-status.md): Poll the status of a rewards claim by its claim_request_id. - [Get Earn deploy status](https://docs.turnkey.com/api-reference/queries/get-earn-deploy-status.md): Poll the status of a wrapper deployment by its deploy_request_id. - [Get Earn deposit status](https://docs.turnkey.com/api-reference/queries/get-earn-deposit-status.md): Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). - [Get Earn enabled vaults](https://docs.turnkey.com/api-reference/queries/get-earn-enabled-vaults.md): Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. - [Get Earn positions](https://docs.turnkey.com/api-reference/queries/get-earn-positions.md): Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. - [Get Earn vault catalog](https://docs.turnkey.com/api-reference/queries/get-earn-vault-catalog.md): Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. - [Get Earn withdraw status](https://docs.turnkey.com/api-reference/queries/get-earn-withdraw-status.md): Poll the status of a withdrawal by its withdraw_request_id. - [Get gas usage](https://docs.turnkey.com/api-reference/queries/get-gas-usage.md): Get gas usage and gas limits for either the parent organization or a sub-organization. - [Get nonces](https://docs.turnkey.com/api-reference/queries/get-nonces.md): Get nonce values for an address on a given network. Can fetch the standard on-chain nonce and/or the gas station nonce used for sponsored transactions. - [Get On Ramp transaction status](https://docs.turnkey.com/api-reference/queries/get-on-ramp-transaction-status.md): Get the status of an on ramp transaction. - [Get send transaction status](https://docs.turnkey.com/api-reference/queries/get-send-transaction-status.md): Get the status of a send transaction request. - [Get swap sponsorship usage](https://docs.turnkey.com/api-reference/queries/get-swap-sponsorship-usage.md): Read each swap sponsorship feature's spending window and settled spending in the current rolling window. Parents see aggregate spending; children see their own spending. Pending swaps are not reserved. - [Get Swap status](https://docs.turnkey.com/api-reference/queries/get-swap-status.md): Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. - [List Earn rewards](https://docs.turnkey.com/api-reference/queries/list-earn-rewards.md): List the protocol rewards (e.g. MORPHO and third-party campaign tokens, distributed off-chain via Merkl) attributed to a wallet: claimable, lifetime claimed, and pending amounts per reward token. - [List Fiat On Ramp credentials](https://docs.turnkey.com/api-reference/queries/list-fiat-on-ramp-credentials.md): List all fiat on ramp provider credentials within an organization. #### Turnkey Verifiable Cloud ##### Activities - [Create a TVC app](https://docs.turnkey.com/api-reference/activities/create-a-tvc-app.md): Create a new TVC application. - [Create a TVC deployment](https://docs.turnkey.com/api-reference/activities/create-a-tvc-deployment.md): Create a new TVC deployment. - [Create TVC manifest approvals](https://docs.turnkey.com/api-reference/activities/create-tvc-manifest-approvals.md): Post one or more manifest approvals for a TVC manifest. - [Create TVC operator](https://docs.turnkey.com/api-reference/activities/create-tvc-operator.md): Create a TVC operator backed by uncompressed P-256 Turnkey wallet accounts. - [Create TVC Quorum Key](https://docs.turnkey.com/api-reference/activities/create-tvc-quorum-key.md): Create a hosted TVC Quorum Key and encrypted shares. - [Delete a TVC app and all of its deployments](https://docs.turnkey.com/api-reference/activities/delete-a-tvc-app-and-all-of-its-deployments.md): Delete a TVC app and all of its deployments. - [Delete a TVC deployment](https://docs.turnkey.com/api-reference/activities/delete-a-tvc-deployment.md): Delete a TVC deployment. - [Post TVC Quorum Key share](https://docs.turnkey.com/api-reference/activities/post-tvc-quorum-key-share.md): Post re-encrypted Quorum Key share for a TVC deployment. - [Re-encrypt TVC Quorum Key share](https://docs.turnkey.com/api-reference/activities/re-encrypt-tvc-quorum-key-share.md): Re-encrypt a hosted TVC Quorum Key share for a deployment. - [Restore a TVC deployment](https://docs.turnkey.com/api-reference/activities/restore-a-tvc-deployment.md): Restore a deleted TVC deployment. ##### Queries - [Get a specific Boot Proof](https://docs.turnkey.com/api-reference/queries/get-a-specific-boot-proof.md): Get the Boot Proof for a given ephemeral key. - [Get the latest Boot Proof for an app](https://docs.turnkey.com/api-reference/queries/get-the-latest-boot-proof-for-an-app.md): Get the latest Boot Proof for a given enclave app name. - [Get TVC app](https://docs.turnkey.com/api-reference/queries/get-tvc-app.md): Get details about a single TVC app. - [Get TVC app status](https://docs.turnkey.com/api-reference/queries/get-tvc-app-status.md): Get live runtime status for a TVC app from the cluster. - [Get TVC deployment](https://docs.turnkey.com/api-reference/queries/get-tvc-deployment.md): Get details about a single TVC deployment. - [Get TVC deployment debug logs](https://docs.turnkey.com/api-reference/queries/get-tvc-deployment-debug-logs.md): Get a bounded window of application logs from a debug-mode TVC deployment. Returned lines are collected from every running replica and sorted by platform timestamp. - [Get TVC deployment's provisioning details](https://docs.turnkey.com/api-reference/queries/get-tvc-deployments-provisioning-details.md): Get the attestation document and manifest envelope of the provisioning enclave for a TVC deployment. - [Get TVC manifest generation info](https://docs.turnkey.com/api-reference/queries/get-tvc-manifest-generation-info.md): Get default values for creating a QOS manifest. Relevant for client manifest generation. - [Get TVC QOS versions](https://docs.turnkey.com/api-reference/queries/get-tvc-qos-versions.md): List QOS versions supported for new TVC deployments and the latest recommended QOS version. - [List App Proofs for an activity](https://docs.turnkey.com/api-reference/queries/list-app-proofs-for-an-activity.md): List the App Proofs for the given activity. - [List TVC apps](https://docs.turnkey.com/api-reference/queries/list-tvc-apps.md): List all TVC apps within an organization. - [List TVC deployments](https://docs.turnkey.com/api-reference/queries/list-tvc-deployments.md): List all deployments for a given TVC app. - [List TVC operators](https://docs.turnkey.com/api-reference/queries/list-tvc-operators.md): List all TVC operators within an organization, newest first. - [List TVC Quorum Keys](https://docs.turnkey.com/api-reference/queries/list-tvc-quorum-keys.md): List all hosted TVC Quorum Keys within an organization, newest first. - [Validate container image for TVC](https://docs.turnkey.com/api-reference/queries/validate-container-image-for-tvc.md): Validate a container image URL and pull secret for TVC deployment. #### Auth Proxy - [Get Account](https://docs.turnkey.com/api-reference/auth-proxy/account.md): Return organization id associated with a given phone number, email, public key, credential ID, OIDC token, or wallet authenticator. - [OAuth Login](https://docs.turnkey.com/api-reference/auth-proxy/oauth-login.md): Login using an OIDC token and public key. - [OAuth 2.0 Authenticate](https://docs.turnkey.com/api-reference/auth-proxy/oauth2-authenticate.md): Authenticate with an OAuth 2.0 provider and receive an OIDC token issued by Turnkey in response. - [Init OTP](https://docs.turnkey.com/api-reference/auth-proxy/otp-init.md): Start a new OTP flow and return a new OTP flow ID. - [OTP Login](https://docs.turnkey.com/api-reference/auth-proxy/otp-login.md): Login using an existing OTP Verification Token and a client-side signature. The signature's public key must match the public key contained within the OTP Verification Token. - [Verify OTP](https://docs.turnkey.com/api-reference/auth-proxy/otp-verify.md): Verify the OTP code previously sent to the user's contact and return a verification token. - [Signup](https://docs.turnkey.com/api-reference/auth-proxy/signup.md): Onboard a new user. - [Verify wallet authenticator](https://docs.turnkey.com/api-reference/auth-proxy/verify-wallet-authenticator.md): Verify a SIWE or SIWS login and return an enclave-signed wallet verification token. - [Get WalletKit Client Params](https://docs.turnkey.com/api-reference/auth-proxy/wallet-kit-client-params.md): Get client parameters needed to initialize WalletKit flows, such as a client token for the calling organization. - [Get WalletKit Config](https://docs.turnkey.com/api-reference/auth-proxy/wallet-kit-config.md): Get wallet kit settings and feature toggles for the calling organization. ### SDK reference - [Turnkey SDK reference](https://docs.turnkey.com/sdks/introduction.md): Turnkey provides a variety of client and server SDKs which simplify interacting with Turnkey's API. The SDKs offer methods, utilities, and helper functions to quickly implement features and perform common workflows. - [Overview](https://docs.turnkey.com/solutions/embedded-wallets/integration-guide/flutter/index.md): Turnkey's Flutter SDK [`(turnkey_sdk_flutter)`](https://pub.dev/packages/turnkey_sdk_flutter) is the easiest way to integrate Turnkey’s Embedded Wallets into your Flutter applications. It supports both backendless setups via Turnkey’s managed [Auth Proxy](https://docs.turnkey.com/reference/auth-prox… - [TypeScript server](https://docs.turnkey.com/solutions/company-wallets/integration-guide/javascript-server.md): The [`@turnkey/sdk-server`](https://www.npmjs.com/package/@turnkey/sdk-server) package exposes functionality that lets developers build server-side functionality for applications that interact with the Turnkey API. - [Go](https://docs.turnkey.com/solutions/company-wallets/integration-guide/golang.md): Server-side Go SDK for interacting with the Turnkey API - [Ruby](https://docs.turnkey.com/solutions/company-wallets/integration-guide/ruby.md): Turnkey offers native tooling for interacting with the API using Ruby. See [https://github.com/tkhq/ruby-sdk](https://github.com/tkhq/ruby-sdk) for more details. - [Rust](https://docs.turnkey.com/solutions/company-wallets/integration-guide/rust.md): Turnkey offers native tooling for interacting with the API using Rust. See [https://github.com/tkhq/rust-sdk](https://github.com/tkhq/rust-sdk) for more details. - [Python](https://docs.turnkey.com/solutions/company-wallets/integration-guide/python.md): Turnkey offers support for interacting with the API using Python. See [https://github.com/tkhq/python-sdk](https://github.com/tkhq/python-sdk) for more details. #### React wallet kit - [addOauthProvider()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-add-oauth-provider.md) - [addPasskey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-add-passkey.md) - [buildWalletLoginRequest()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-build-wallet-login-request.md) - [clearAllSessions()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-clear-all-sessions.md) - [clearSession()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-clear-session.md) - [clearUnusedKeyPairs()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-clear-unused-key-pairs.md) - [completeOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-complete-oauth.md) - [completeOtp()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-complete-otp.md) - [connectWalletAccount()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-connect-wallet-account.md) - [createApiKeyPair()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-create-api-key-pair.md) - [createHttpClient()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-create-http-client.md) - [createPasskey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-create-passkey.md) - [createWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-create-wallet.md) - [createWalletAccounts()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-create-wallet-accounts.md) - [deleteSubOrganization()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-delete-sub-organization.md) - [disconnectWalletAccount()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-disconnect-wallet-account.md) - [ethSendErc20Transfer()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-eth-send-erc20-transfer.md) - [ethSendTransaction()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-eth-send-transaction.md) - [exportPrivateKey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-export-private-key.md) - [exportWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-export-wallet.md) - [exportWalletAccount()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-export-wallet-account.md) - [fetchBootProofForAppProof()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-boot-proof-for-app-proof.md) - [fetchOrCreateP256ApiKeyUser()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-or-create-p256-api-key-user.md) - [fetchOrCreatePolicies()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-or-create-policies.md) - [fetchPrivateKeys()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-private-keys.md) - [fetchUser()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-user.md) - [fetchWalletAccounts()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-wallet-accounts.md) - [fetchWalletProviders()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-wallet-providers.md) - [fetchWallets()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-fetch-wallets.md) - [getActiveSessionKey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-get-active-session-key.md) - [getAllSessions()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-get-all-sessions.md) - [getProxyAuthConfig()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-get-proxy-auth-config.md) - [getSession()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-get-session.md) - [handleAddEmail()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-add-email.md) - [handleAddOauthProvider()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-add-oauth-provider.md) - [handleAddPasskey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-add-passkey.md) - [handleAddPhoneNumber()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-add-phone-number.md) - [handleAppleOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-apple-oauth.md) - [handleConnectExternalWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-connect-external-wallet.md) - [handleDiscordOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-discord-oauth.md) - [handleExportPrivateKey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-export-private-key.md) - [handleExportWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-export-wallet.md) - [handleExportWalletAccount()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-export-wallet-account.md) - [handleFacebookOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-facebook-oauth.md) - [handleGoogleOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-google-oauth.md) - [handleImportPrivateKey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-import-private-key.md) - [handleImportWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-import-wallet.md) - [handleLogin()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-login.md) - [handleOnRamp()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-on-ramp.md) - [handleRemoveOauthProvider()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-remove-oauth-provider.md) - [handleRemovePasskey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-remove-passkey.md) - [handleRemoveUserEmail()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-remove-user-email.md) - [handleRemoveUserPhoneNumber()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-remove-user-phone-number.md) - [handleSendErc20Transfer()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-send-erc20-transfer.md) - [handleSendTransaction()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-send-transaction.md) - [handleSignMessage()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-sign-message.md) - [handleUpdateUserEmail()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-update-user-email.md) - [handleUpdateUserName()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-update-user-name.md) - [handleUpdateUserPhoneNumber()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-update-user-phone-number.md) - [handleVerifyAppProofs()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-verify-app-proofs.md) - [handleXOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-handle-xoauth.md) - [importPrivateKey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-import-private-key.md) - [importWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-import-wallet.md) - [initOtp()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-init-otp.md) - [loginOrSignupWithWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-login-or-signup-with-wallet.md) - [loginWithOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-login-with-oauth.md) - [loginWithOtp()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-login-with-otp.md) - [loginWithPasskey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-login-with-passkey.md) - [loginWithWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-login-with-wallet.md) - [logout()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-logout.md) - [refreshSession()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-refresh-session.md) - [refreshUser()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-refresh-user.md) - [refreshWallets()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-refresh-wallets.md) - [removeOauthProviders()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-remove-oauth-providers.md) - [removePasskeys()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-remove-passkeys.md) - [removeUserEmail()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-remove-user-email.md) - [removeUserPhoneNumber()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-remove-user-phone-number.md) - [setActiveSession()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-set-active-session.md) - [signAndSendTransaction()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-and-send-transaction.md) - [signMessage()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-message.md) - [signTransaction()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-transaction.md) - [signUpWithOauth()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-up-with-oauth.md) - [signUpWithOtp()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-up-with-otp.md) - [signUpWithPasskey()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-up-with-passkey.md) - [signUpWithWallet()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sign-up-with-wallet.md) - [solSendTransaction()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-sol-send-transaction.md) - [storeSession()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-store-session.md) - [switchWalletAccountChain()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-switch-wallet-account-chain.md) - [updateUserEmail()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-update-user-email.md) - [updateUserName()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-update-user-name.md) - [updateUserPhoneNumber()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-update-user-phone-number.md) - [verifyAppProofs()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-verify-app-proofs.md) - [verifyOtp()](https://docs.turnkey.com/generated-docs/react-wallet-kit/client-context-type-verify-otp.md) - [TurnkeyProviderConfig](https://docs.turnkey.com/generated-docs/react-wallet-kit/turnkey-provider-config.md) #### React Native wallet kit - [addOauthProvider()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-add-oauth-provider.md) - [addPasskey()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-add-passkey.md) - [clearAllSessions()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-clear-all-sessions.md) - [clearSession()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-clear-session.md) - [clearUnusedKeyPairs()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-clear-unused-key-pairs.md) - [completeOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-complete-oauth.md) - [completeOtp()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-complete-otp.md) - [createApiKeyPair()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-create-api-key-pair.md) - [createHttpClient()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-create-http-client.md) - [createPasskey()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-create-passkey.md) - [createWallet()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-create-wallet.md) - [createWalletAccounts()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-create-wallet-accounts.md) - [deleteSubOrganization()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-delete-sub-organization.md) - [ethSendErc20Transfer()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-eth-send-erc20-transfer.md) - [ethSendTransaction()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-eth-send-transaction.md) - [fetchBootProofForAppProof()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-boot-proof-for-app-proof.md) - [fetchOrCreateP256ApiKeyUser()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-or-create-p256-api-key-user.md) - [fetchOrCreatePolicies()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-or-create-policies.md) - [fetchPrivateKeys()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-private-keys.md) - [fetchUser()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-user.md) - [fetchWalletAccounts()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-wallet-accounts.md) - [fetchWallets()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-fetch-wallets.md) - [getActiveSessionKey()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-get-active-session-key.md) - [getAllSessions()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-get-all-sessions.md) - [getProxyAuthConfig()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-get-proxy-auth-config.md) - [getSession()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-get-session.md) - [handleAppleOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-handle-apple-oauth.md) - [handleDiscordOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-handle-discord-oauth.md) - [handleFacebookOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-handle-facebook-oauth.md) - [handleGoogleOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-handle-google-oauth.md) - [handleXOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-handle-xoauth.md) - [initOtp()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-init-otp.md) - [loginWithOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-login-with-oauth.md) - [loginWithOtp()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-login-with-otp.md) - [loginWithPasskey()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-login-with-passkey.md) - [logout()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-logout.md) - [refreshSession()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-refresh-session.md) - [refreshUser()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-refresh-user.md) - [refreshWallets()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-refresh-wallets.md) - [removeOauthProviders()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-remove-oauth-providers.md) - [removePasskeys()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-remove-passkeys.md) - [removeUserEmail()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-remove-user-email.md) - [removeUserPhoneNumber()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-remove-user-phone-number.md) - [setActiveSession()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-set-active-session.md) - [signAndSendTransaction()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sign-and-send-transaction.md) - [signMessage()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sign-message.md) - [signTransaction()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sign-transaction.md) - [signUpWithOauth()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sign-up-with-oauth.md) - [signUpWithOtp()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sign-up-with-otp.md) - [signUpWithPasskey()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sign-up-with-passkey.md) - [solSendTransaction()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-sol-send-transaction.md) - [storeSession()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-store-session.md) - [updateUserEmail()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-update-user-email.md) - [updateUserName()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-update-user-name.md) - [updateUserPhoneNumber()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-update-user-phone-number.md) - [verifyAppProofs()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-verify-app-proofs.md) - [verifyOtp()](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/client-context-type-verify-otp.md) - [TurnkeyProviderConfig](https://docs.turnkey.com/generated-docs/react-native-wallet-kit/turnkey-provider-config.md) #### TypeScript core - [addOauthProvider()](https://docs.turnkey.com/generated-docs/core/turnkey-client-add-oauth-provider.md) - [addPasskey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-add-passkey.md) - [buildWalletLoginRequest()](https://docs.turnkey.com/generated-docs/core/turnkey-client-build-wallet-login-request.md) - [clearAllSessions()](https://docs.turnkey.com/generated-docs/core/turnkey-client-clear-all-sessions.md) - [clearSession()](https://docs.turnkey.com/generated-docs/core/turnkey-client-clear-session.md) - [clearUnusedKeyPairs()](https://docs.turnkey.com/generated-docs/core/turnkey-client-clear-unused-key-pairs.md) - [completeOauth()](https://docs.turnkey.com/generated-docs/core/turnkey-client-complete-oauth.md) - [completeOtp()](https://docs.turnkey.com/generated-docs/core/turnkey-client-complete-otp.md) - [connectWalletAccount()](https://docs.turnkey.com/generated-docs/core/turnkey-client-connect-wallet-account.md) - [constructor()](https://docs.turnkey.com/generated-docs/core/turnkey-client-constructor.md) - [createApiKeyPair()](https://docs.turnkey.com/generated-docs/core/turnkey-client-create-api-key-pair.md) - [createHttpClient()](https://docs.turnkey.com/generated-docs/core/turnkey-client-create-http-client.md) - [createPasskey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-create-passkey.md) - [createWallet()](https://docs.turnkey.com/generated-docs/core/turnkey-client-create-wallet.md) - [createWalletAccounts()](https://docs.turnkey.com/generated-docs/core/turnkey-client-create-wallet-accounts.md) - [deleteSubOrganization()](https://docs.turnkey.com/generated-docs/core/turnkey-client-delete-sub-organization.md) - [disconnectWalletAccount()](https://docs.turnkey.com/generated-docs/core/turnkey-client-disconnect-wallet-account.md) - [ethSendErc20Transfer()](https://docs.turnkey.com/generated-docs/core/turnkey-client-eth-send-erc20-transfer.md) - [ethSendTransaction()](https://docs.turnkey.com/generated-docs/core/turnkey-client-eth-send-transaction.md) - [exportPrivateKey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-export-private-key.md) - [exportWallet()](https://docs.turnkey.com/generated-docs/core/turnkey-client-export-wallet.md) - [exportWalletAccount()](https://docs.turnkey.com/generated-docs/core/turnkey-client-export-wallet-account.md) - [fetchBootProofForAppProof()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-boot-proof-for-app-proof.md) - [fetchOrCreateP256ApiKeyUser()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-or-create-p256-api-key-user.md) - [fetchOrCreatePolicies()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-or-create-policies.md) - [fetchPrivateKeys()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-private-keys.md) - [fetchUser()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-user.md) - [fetchWalletAccounts()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-wallet-accounts.md) - [fetchWalletProviders()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-wallet-providers.md) - [fetchWallets()](https://docs.turnkey.com/generated-docs/core/turnkey-client-fetch-wallets.md) - [getActiveSessionKey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-get-active-session-key.md) - [getAllSessions()](https://docs.turnkey.com/generated-docs/core/turnkey-client-get-all-sessions.md) - [getProxyAuthConfig()](https://docs.turnkey.com/generated-docs/core/turnkey-client-get-proxy-auth-config.md) - [getSession()](https://docs.turnkey.com/generated-docs/core/turnkey-client-get-session.md) - [importPrivateKey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-import-private-key.md) - [importWallet()](https://docs.turnkey.com/generated-docs/core/turnkey-client-import-wallet.md) - [init()](https://docs.turnkey.com/generated-docs/core/turnkey-client-init.md) - [initOtp()](https://docs.turnkey.com/generated-docs/core/turnkey-client-init-otp.md) - [loginOrSignupWithWallet()](https://docs.turnkey.com/generated-docs/core/turnkey-client-login-or-signup-with-wallet.md) - [loginWithOauth()](https://docs.turnkey.com/generated-docs/core/turnkey-client-login-with-oauth.md) - [loginWithOtp()](https://docs.turnkey.com/generated-docs/core/turnkey-client-login-with-otp.md) - [loginWithPasskey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-login-with-passkey.md) - [loginWithWallet()](https://docs.turnkey.com/generated-docs/core/turnkey-client-login-with-wallet.md) - [logout()](https://docs.turnkey.com/generated-docs/core/turnkey-client-logout.md) - [pollTransactionStatus()](https://docs.turnkey.com/generated-docs/core/turnkey-client-poll-transaction-status.md) - [refreshSession()](https://docs.turnkey.com/generated-docs/core/turnkey-client-refresh-session.md) - [removeOauthProviders()](https://docs.turnkey.com/generated-docs/core/turnkey-client-remove-oauth-providers.md) - [removePasskeys()](https://docs.turnkey.com/generated-docs/core/turnkey-client-remove-passkeys.md) - [removeUserEmail()](https://docs.turnkey.com/generated-docs/core/turnkey-client-remove-user-email.md) - [removeUserPhoneNumber()](https://docs.turnkey.com/generated-docs/core/turnkey-client-remove-user-phone-number.md) - [setActiveSession()](https://docs.turnkey.com/generated-docs/core/turnkey-client-set-active-session.md) - [signAndSendTransaction()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-and-send-transaction.md) - [signMessage()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-message.md) - [signTransaction()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-transaction.md) - [signUpWithOauth()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-up-with-oauth.md) - [signUpWithOtp()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-up-with-otp.md) - [signUpWithPasskey()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-up-with-passkey.md) - [signUpWithWallet()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sign-up-with-wallet.md) - [solSendTransaction()](https://docs.turnkey.com/generated-docs/core/turnkey-client-sol-send-transaction.md) - [storeSession()](https://docs.turnkey.com/generated-docs/core/turnkey-client-store-session.md) - [switchWalletAccountChain()](https://docs.turnkey.com/generated-docs/core/turnkey-client-switch-wallet-account-chain.md) - [updateUserEmail()](https://docs.turnkey.com/generated-docs/core/turnkey-client-update-user-email.md) - [updateUserName()](https://docs.turnkey.com/generated-docs/core/turnkey-client-update-user-name.md) - [updateUserPhoneNumber()](https://docs.turnkey.com/generated-docs/core/turnkey-client-update-user-phone-number.md) - [verifyAppProofs()](https://docs.turnkey.com/generated-docs/core/turnkey-client-verify-app-proofs.md) - [verifyOtp()](https://docs.turnkey.com/generated-docs/core/turnkey-client-verify-otp.md) #### Web3 libraries - [Web3 libraries](https://docs.turnkey.com/sdks/web3/overview.md): Turnkey Web3 libraries - [Ethers](https://docs.turnkey.com/sdks/web3/ethers.md): [`@turnkey/ethers`](https://www.npmjs.com/package/@turnkey/ethers) exports a `TurnkeySigner` that serves as a drop-in replacement for an Ethers signer. - [Viem](https://docs.turnkey.com/sdks/web3/viem.md): [`@turnkey/viem`](https://www.npmjs.com/package/@turnkey/viem) provides a Turnkey [Custom Account](https://viem.sh/docs/accounts/local/toAccount) (signer) which implements the signing APIs expected by Viem clients. - [Integrating an embedded wallet with Wagmi](https://docs.turnkey.com/sdks/web3/wagmi.md) - [CosmJS](https://docs.turnkey.com/sdks/web3/cosmjs.md): [`@turnkey/cosmjs`](https://www.npmjs.com/package/@turnkey/cosmjs) exports a `TurnkeyDirectWallet` that serves as a drop-in replacement for a CosmJS direct wallet. It includes support for `signDirect`. See full implementation [here](https://github.com/tkhq/sdk/tree/main/packages/cosmjs) for more det… - [EIP 1193](https://docs.turnkey.com/sdks/web3/eip-1193.md): [`@turnkey/eip-1193-provider`](https://www.npmjs.com/package/@turnkey/eip-1193-provider) is a Turnkey-compatible Ethereum provider that conforms to the [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) standard. It's built to seamlessly integrate with a broad spectrum of EVM-compatible chains, off… - [Solana](https://docs.turnkey.com/sdks/web3/solana.md): We have released a package that you can use to sign transactions and messages: [`@turnkey/solana`](https://www.npmjs.com/package/@turnkey/solana). See [here](https://github.com/tkhq/sdk/tree/main/examples/chain-integrations/with-solana) for an example. - [Gas station SDK](https://docs.turnkey.com/sdks/web3/gas-station.md): An SDK for implementing gasless transactions using EIP-7702, Turnkey wallet management, and your own paymaster. - [Foundry](https://docs.turnkey.com/sdks/foundry.md): [Foundry](https://getfoundry.sh/introduction/overview) offers native support for deploying smart contracts from Turnkey wallets. See [https://github.com/tkhq/sdk/tree/main/examples/advanced/foundry](https://github.com/tkhq/sdk/tree/main/examples/advanced/foundry) for a code example, including `.env`… #### Advanced - [Advanced](https://docs.turnkey.com/sdks/advanced/overview.md): Use Turnkey's low-level http libraries directly - [TurnkeyClient](https://docs.turnkey.com/sdks/advanced/turnkey-client.md) - [ApiKeyStamper](https://docs.turnkey.com/sdks/advanced/api-key-stamper.md) - [WalletStamper](https://docs.turnkey.com/sdks/advanced/wallet-stamper.md) - [WebauthnStamper](https://docs.turnkey.com/sdks/advanced/webauthn-stamper.md) - [IframeStamper](https://docs.turnkey.com/sdks/advanced/iframe-stamper.md) - [Client-side signing](https://docs.turnkey.com/sdks/advanced/client-side-signing.md) - [IndexedDbStamper](https://docs.turnkey.com/sdks/advanced/indexed-db-stamper.md)