Skip to content
Alchemy Logo

signPreparedCalls (Solana)

function signPreparedCalls(
  client,
  params,
): Promise<SolanaSignPreparedCallsResult>;

Defined in: packages/wallet-apis/src/actions/solana/signPreparedCalls.ts:35

Signs a prepared Solana transaction using the client's Ed25519 signer.

const prepared = await client.prepareCalls({ ... });
const signed = await client.signPreparedCalls(prepared);
const result = await client.sendPreparedCalls(signed);

ParameterTypeDescription

client

InnerSolanaWalletApiClient

The Solana wallet client

params

SolanaSignPreparedCallsParams

The prepared Solana transaction with signature request

Promise<SolanaSignPreparedCallsResult>

The signed Solana transaction

Was this page helpful?