Skip to main content

Documentation Index

Fetch the complete documentation index at: https://turnkey-0e7c1f5b-bc-add-sdk-typedoc.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Function: sealAndStampRequestBody()

sealAndStampRequestBody(input): Promise<{ sealedBody: string; xStamp: string; }>
Defined in: packages/http/dist/base.d.ts:44 Seals and stamps the request body with your Turnkey API credentials. You can either:
  • Before calling sealAndStampRequestBody(...), initialize with your Turnkey API credentials via init(...)
  • Or, provide apiPublicKey and apiPrivateKey here as arguments

Parameters

input

apiPrivateKey?

string

apiPublicKey?

string

body

Record<string, any>

Returns

Promise<{ sealedBody: string; xStamp: string; }>