finalizeTypedDataSigning
The finalizeTypedDataSigning
method adds a signature to EIP-712 typed data, producing a signature that can be verified by Ethereum-compatible systems.
Usage
import { RSVSignature } from 'signet.js'
const rsvSignature: RSVSignature = {
r: '0x123...',
s: '0x123...',
v: 27,
}
// Assuming you have a signature from the MPC network
const signature = evmChain.finalizeTypedDataSigning({
rsvSignature,
})
Parameters
Parameter | Type | Description |
---|---|---|
rsvSignature | RSVSignature | The RSV signature from the MPC network |
Returns
Type | Description |
---|---|
string | The signature in hex format (with 0x prefix) |