Settings

Sign a given payload

Changed on

Signs the typed repositories value with types repositories structure for domain using the EIP-712 specification.

post/v1/settings/developer_accounts/{id}/sign_payload

Request

  • Base URL: https://api.openfort.io
  • URL: https://api.openfort.io/v1/settings/developer_accounts/{id}/sign_payload
  • Auth: HTTP bearer

Path parameters

idstring required

Specifies the unique developer account ID (starts with dac_).

Request body

typesobject required
primaryTypestring required
valueobject required
hashstring

Hash to verify and that will be signed

Example request

{
  "domain": {
    "chainId": 80002,
    "name": "Openfort",
    "version": "1",
    "verifyingContract": "0x64452Dff1180b21dc50033e1680bB64CDd492582",
    "salt": "0xf2d857f4a3edcb9b78b4d503bfe733db1e3f6cdc2b7971ee739626c97e86a558"
  },
  "primaryType": "Mail",
  "hash": "0x3d8c6cab96bc24c87162c529bed5ba88b4617a7ea8bef66489a541d043ac6e8b"
}

Response

Successful response.

object'signature' required
accountstring required
addressstring required
hashstring required
signaturestring required

Changes