wrapSignatureWith6492

1function wrapSignatureWith6492(params): `0x${string}`;

Defined in: aa-sdk/core/src/signer/utils.ts:36

Wraps a given signature with additional data following the EIP-6492 standard.

Example

1import { wrapSignatureWith6492 } from "@aa-sdk/core";
2
3const signature = wrapSignatureWith6492({
4 factoryAddress: "0x...",
5 factoryCalldata: "0x...",
6 signature: "0x...",
7});

Parameters

ParameterTypeDescription

params

SignWith6492Params

The parameters to wrap the signature

Returns

`0x${string}`

The wrapped signature