Signatures
Sign data using your wallet. You can sign an arbitrary message or and EIP712 message.
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.
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.
1. Sign an arbitrary message
Request Endpoint: reference
HTTP
POST /api/signaturesSigning-Method
Header
id:value
id: This is the ID of the signing method
value: This is the value of the signing method
756ae7a7-3713-43ee-9936-0dff50306488:123456
pincode (Deprecated)
Body
PIN related to the wallet ID
String
❌
signatureRequest
Body
This object includes the signature request
Object
✅
signatureRequest.type
Body
This will be MESSAGE
String
✅
transactionRequest.secretType
Body
On which blockchain the signature will be executed
String
✅
signatureRequest.walletId
Body
The id of the wallet that will sign the message
String
✅
signatureRequest.data
Body
The message to sign
String
✅
Request Body:
JSON
{
"signatureRequest" :
{
"type" : "MESSAGE",
"secretType" : "ETHEREUM",
"walletId" : "1def2753-a428-4fd2-9993-fc06917897c6",
"data" : "I agree with terms and conditions"
}
}Response Body:
JSON
2. Sign an EIP712 message
Request Endpoint: reference
HTTP
Signing-Method
Header
id:value
id: This is the ID of the signing method
value: This is the value of the signing method
756ae7a7-3713-43ee-9936-0dff50306488:123456
pincode (Deprecated)
Body
PIN related to the wallet ID
String
❌
signatureRequest
Body
This object includes the signature request
Object
✅
signatureRequest.type
Body
This will be EIP712
String
✅
transactionRequest.secretType
Body
On which blockchain the signature will be executed
String
✅
signatureRequest.walletId
Body
The id of the wallet that will sign the message
String
✅
signatureRequest.data
Body
The JSON of the EIP712 message to sign
Object
✅
Request Body:
JSON
Response Body:
JSON
Last updated