We refreshed our doc site!

Bookmarked links may have changed

Read release notes

signTypedData

Web3 Services
Compliance Engine

Sign typed data

POSThttps://api.circle.com/v1/w3s/developer/sign/typedData

Sign the EIP-712 typed structured data from a specified developer-controlled wallet. Please note that not all the Dapps currently support Smart Contract Account (SCA), the difference between EOA and SCA can be found in the account types guide, and you can check the list of Dapps that support SCA: https://eip1271.io/.

Body parameters
entitySecretCiphertext
byte
Required

A base64 string expression of the entity secret ciphertext. The entity secret should be encrypted by the entity public key. Circle mandates that the entity secret ciphertext is unique for each API request.

data
string
Required

A string represents the typed structured data in EIP-712

walletId
uuid
Required

System-generated unique identifier of the resource.

memo
string

The human readable explanation for this sign action. Useful for presenting with extra information.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "data": {
3    "signature": "0x977c17f82d8b042b67b09d0e61e7d324f050cb000c17a08..."
4  }
5}
Did this page help you?
© 2023-2024 Circle Technology Services, LLC. All rights reserved.