function formatSign(client, params): Promise<{}>;Defined in: packages/wallet-apis/src/actions/formatSign.ts:46
Formats a signature request for signing messages or transactions.
// Formats a signature
const result = await client.formatSign({
account: "0x1234...",
signature: {
type: "ecdsa",
data: "0xabcd...",
},
});| 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.