Overview

Signs a transaction using the specified wallet account.
  • This function signs a blockchain transaction using the provided wallet address and transaction data.
  • Supports all Turnkey-supported blockchain networks (e.g., Ethereum, Solana, Tron).
  • Automatically determines the appropriate signing method based on the transaction type.
  • Delegates signing to the Turnkey API, which returns the signed transaction and related metadata.
  • Optionally allows stamping the request with a specific stamper (StamperType.Passkey, StamperType.ApiKey, or StamperType.Wallet).

Package: core

Defined in: core.ts:2216

Parameters

params
object
required

Response

A successful response returns the following fields:
returns
string
required
A promise that resolves to a TSignTransactionResponse object containing the signed transaction and any additional signing metadata.