index/interfaces/TypedDataSigner.md
Signer capability used by the bundler launchpad write transport.
Extended by
launchpad signer
Methods
signTypedData()
signTypedData(
method,dto):Promise<SignedTypedDataBody>
Sign a launchpad DTO using the method name as the EIP-712 primary type.
Parameters
| Parameter | Type |
|---|---|
method | string |
dto | Record<string, unknown> |
Returns
Promise<SignedTypedDataBody>
Example
const body = await signer.signTypedData('BuyWithNative', { amount: '1' });
console.log(body.signature);
sign typed data signed body