function signPreparedCalls(client, params): Promise<SignPreparedCallsResult>;Defined in: packages/wallet-apis/src/actions/signPreparedCalls.ts:65
Signs prepared calls using the provided signer.
// Prepare a user operation call.
const preparedCalls = await client.prepareCalls({
calls: [
{
to: "0x1234...",
data: "0xabcdef...",
value: "0x0",
},
],
});
// Sign the prepared calls.
const signedCalls = await client.signPreparedCalls(preparedCalls);
// Send the signed calls.
const result = await client.sendPreparedCalls(signedCalls);| Parameter | Type | Description |
|---|---|---|
|
| The wallet client to use for signing |
| The prepared calls with signature requests |
Promise<SignPreparedCallsResult>
A Promise that resolves to the signed calls