Sign Typed Data
Sign EIP712 compliant typed data
Path parameters
projectId
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
signerAddress
Address of a project wallet that will be used to sign the 'message'.
message
Data to be signed by the 'signerAddress'. The message's structure must be correctly defined in the 'types' mapping, specified by the 'primaryType'.
types
Type definitions of the domain and data you are requesting signature of. At minimum you must define the domain with key ‘EIP712Domain’ and the type of your message with key specified by ‘primaryType’. More information here.
primaryType
Specifies the name of the key in 'types' that describes the shape of the 'message'.
signatureId
(Optional) ID of the request. Needs to be a valid UUID. If provided, it will be saved and returned as the signatureId of the response. If not provided, we will generate one for you and return it as the signatureId.
Response
This endpoint returns an object.
message
The raw data requested to be signed.
signature
The signature of 'message' by the 'signerAddress'.
signerAddress
The address of the signer of the 'signature'.
signatureId
UUID of the signature request.