Sign Contract Order
Request
POST https://custody/v1/api/projects/{b_id}/wallets/{wallet_code}/signatures
Parameters
Field | Type | Description |
---|---|---|
b_id | String | Business line ID |
wallet_code | String | Defi Wallet ID |
order_no | String | Order number |
description Optional |
String | Description Size: 50 |
address | String | Address |
signature_version | String | Signature type, Refer to METAMASK's official documents to learn more details Allowed values: V4、personalSign |
payload | JsonNode | Signature information(Json string,personalSign parameter reference:{"message":"0x2ca3vaa3....."}) |
chain | String | Cactus chain name Allowed Value: Refer to Cactus Network Name (For API) column in Supported Token |
Request Example
{
"address": "0x115eb8585ad0cfA18e1b7Fd39Dfc5c655adF8fB8",
"signature_version": "personalSign",
"payload": {"message":"0x2ca3vaa3....."},
"chain": "ETH",
"order_no": "D00000000001",
"description": ""
}
Response Example
{
"code": 0,
"message": "",
"successful": true,
"data": {
"OrderNo": "D00000000001"
}
}