Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuidesChangelog
View Mirror World on Github
Join the Discord server

Language:

signTypedDataVersioned

Performs Off Chain Versioned Signing Of An Arbitrary Typed Message


const payload = {
messageType: [
{
name: "data",
type: "string",
},
],
domain: {
name: "example.metamask.com",
version: "1",
chainId: 1,
verifyingContract: "0x0000000000000000000000000000000000000000",
salt: [1, 2, 3],
extraField: "stuff",
},
primaryType: "Message",
message: {
data: "hello",
},
}
await mirrorworld.BNBChain.Wallet.signTypedDataVersioned(payload)

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Integration

    Guides

    API Reference

    Changelog