original data source signature
Sign the specified data directly, and the signature result can be queried through /v1/waas/mpc/web3/sign_result, or distributed via callback from the MPC node.
Request Body
Vault id
Unique id
User-generated request unique id, used for retry
Wallet id
The path corresponding to the address
Signature data
Signature algorithm, when not provided or with a value of 0 (the current default), the default signature is executed using the algorithm and curve type (ecdsa-secp256k1/eddsa-ed25519) specified when the address was created. When the value is 1 (valid for ecdsa-secp256k1 keys only), execute BIP340-compliant Schnorr signatures (Bitcoin glyph reveal transactions are supported). Perform Taproot signing at a value of 2 (valid only for ecdsa-secp256k1 keys)
taproot script root, Only taproot-sign can use it.
- 200
successful operation
Schema
data object
sinohope id
unique id generated by sinohope for each business
{
"code": 200,
"msg": "",
"data": {
"sinoId": "12312321"
},
"success": true
}