Function: sealAndStampRequestBody()
sealAndStampRequestBody(Defined in: base.ts:216 Seals and stamps the request body with your Turnkey API credentials. You can either:input):Promise<{sealedBody:string;xStamp:string; }>
- Before calling
sealAndStampRequestBody(...), initialize with your Turnkey API credentials viainit(...) - Or, provide
apiPublicKeyandapiPrivateKeyhere as arguments
Parameters
input
apiPrivateKey?
string
apiPublicKey?
string
body
Record<string, any>
Returns
Promise<{ sealedBody: string; xStamp: string; }>