按已知的规范签名消息(EIP-191、 EIP-712)
按已知的规范签名消息(EIP-191、 EIP-712),签名结果可通过 /v1/waas/mpc/web3/sign_result查询,或通过MPC-node的回调下发。
application/json
Request Body
requestId string required
请求方交易的requestId
chainSymbol string required
链
hdPath string required
bip32、bip44的推导路径
signAlgorithm string required
支持签名算法: (personal_sign、signTypedData、eth_signTypedData_v3、eth_signTypedData_v4)
message string required
待签名的字符串信息
Responses
- 200
successful operation
application/json
Schema
Example (from schema)
Schema
code integer
msg string
data object
sinoId string
sinoId
messageHash string
签名信息,待签名的消息hash
success boolean
{
"code": 200,
"msg": "",
"data": {
"sinoId": "456417158498600",
"messageHash": "0x88665533e51d1939c18289e2a13c72a0348843f1ea97806d0902e4f4340595b9"
},
"success": true
}
Loading...