Signing messages according to known specifications (EIP-191, EIP-712)
Messages are signed according to known specifications (EIP-191, EIP-712), and the signature results can be queried through /v1/waas/mpc/web3/sign_result or delivered via callback from MPC-node.
application/json
Request Body
requestId string required
The requestId of the requesting party's transaction
chainSymbol string required
Chain
hdPath string required
Derivation path of bip32 and bip44
signAlgorithm string required
Supported signature algorithms: (personal_sign, signTypedData, eth_signTypedData_v3, eth_signTypedData_v4)
message string required
String message to be signed
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
code integer
msg string
data object
sinoId string
sinoId
messageHash string
Signature information, message hash to be signed
success boolean
{
"code": 200,
"msg": "",
"data": {
"sinoId": "456417158498600",
"messageHash": "0x88665533e51d1939c18289e2a13c72a0348843f1ea97806d0902e4f4340595b9"
},
"success": true
}
Loading...