function sendCalls(client, params): Promise<SolanaSendCallsResult>;Defined in: packages/wallet-apis/src/actions/solana/sendCalls.ts:47
Prepares, signs, and submits Solana instructions in a single call.
Internally calls prepareCalls, signPreparedCalls, and sendPreparedCalls.
const result = await client.sendCalls({
calls: [
{
programId: "11111111111111111111111111111111",
data: "0x...",
},
],
capabilities: {
paymaster: { policyId: "your-policy-id" },
},
});| Parameter | Type | Description |
|---|---|---|
|
| The Solana wallet API client |
| Parameters for sending Solana calls |
Promise<SolanaSendCallsResult>
The result containing the call ID