Signatures
Sign data using your wallet
🧙 The signatures endpoint supports the EIP-712 standard, Ethereum typed structured data hashing and signing. This EIP aims to improve the usability of off-chain message signing for use on-chain.
Sign a message (arbitrary data)
POST
https://api-wallet.venly.io/api/signatures
Request Body
Name | Type | Description |
---|---|---|
signatureRequest | object | Contains the signature request |
type | string | Signature type. (MESSAGE or EIP712) |
data | string | The data to sign |
walletId | string | Id of the wallet that will initiate the tx |
pincode | string | PIN related to the wallet ID |
Example
Request
Request Body
Response
Sign an EIP712 message
POST
https://api-wallet.venly.io/api/signatures
This api allows you to sign EIP712 messages
Request Body
Name | Type | Description |
---|---|---|
signatureRequest.data | string | The JSON of the EIP712 message to sign |
signatureRequest.type | string | The signature type, in this case: EIP712 |
signatureRequest.secretType | string | The secret type where you want to sign |
signatureRequest.walletId | string | The id of the wallet of which you want to sign |
pincode | string | The pincode for the wallet |
Example
Request
Request Body
Response
Last updated