签名

请求

POST https://custody/v1/api/projects/{b_id}/wallets/{wallet_code}/signatures

参数

字段 类型 描述
b_id String 业务线id
wallet_code String Defi钱包编号
order_no String 自定义订单编号
description 可选 String 描述
字符上限: 50
address String eth地址
signature_version String 签名类型,参考METAMASK官方文档了解更多详情。
允许值:V4、personalSign
payload JsonNode 签名信息(json,personalSign类型参数结构:{"message":"0x2ca3vaa3....."})
chain String 所属链
允许值: 参考币种列表Cactus Network Name (For API)

请求示例

{
    "address": "0x115eb8585ad0cfA18e1b7Fd39Dfc5c655adF8fB8",
    "signature_version": "personalSign",
    "payload": {"message":"0x2ca3vaa3....."},
    "chain": "ETH",
    "order_no": "D00000000001",
    "description": ""
}

响应示例

{
"code": 0,
"message": "",
"successful": true,
"data": {
    "OrderNo": "D00000000001"
    }
}
Copyright © 2025 Cactus Custody all right reserved,powered by GitbookUpdated: 17-Apr-2025 10:11:15

results matching ""

    No results matching ""

    results matching ""

      No results matching ""