function formatSign<TAccount>(client, params): Promise<{}>;Defined in: account-kit/wallet-client/src/client/actions/formatSign.ts:42
Formats a signature request for signing messages or transactions.
// Formats a signature
const result = await client.formatSign({
from: "0x1234...",
signature: {
type: "ecdsa",
data: "0xabcd...",
},
});| Type Parameter | Default type |
|---|---|
|
|
| Parameter | Type | Description |
|---|---|---|
|
| The wallet API client to use for the request |
|
| Parameters for formatting the signature |
Promise<{
}>
A Promise that resolves to the formatSign result containing the formatted signature.