Sign data

Signs the given data using the given HSM address.

Securitybearer or cookie
Request
path Parameters
chain
required
string (ChainName)

The blockchain chain label.

Value: "ethereum"
Request Body schema: application/json
required
method
required
string

The signing method to use.

address
required
string (ETHAddress) ^0[xX][a-fA-F0-9]{40}$

An ethereum address.

data
required
string (Hex) ^(0x[0-9a-f]*|0X[0-9A-F]*)$

A hex string.

integer or Hex (string)

Optionally lock the message to a specific chain by encoding the chain ID in the signature per EIP-155.

Responses
200

OK

4XX

Client error.

5XX

Server error.

post/chains/{chain}/hsm/sign
Request samples
application/json
{
  • "method": "personal_sign",
  • "address": "string",
  • "data": "string",
  • "chainId": 0
}
Response samples
application/json
{
  • "status": 0,
  • "message": "string",
  • "result": {
    }
}
Copyright © Curvegrid 2022. All right reserved.