签名 TVM 提现交易
POST/PayTool/TVM/signTransaction
签名 TVM 链上的提现订单。
Request
- application/json
Body
required
Array [
]
chainId int32required
链 ID
此为平台内部ID,不是链上或者钱包里的链 ID,可以从查询链列表接口获取
orderIds int32[]required
提现订单 ID 列表
调用接口查询提现订单列表来获取待提现的订单列表
withdrawItems
object[]
required
提现订单列表
outTradeNo string
商户提现订单号
currencyId int32
商户创建提现订单时传入的货币 ID
withdrawAddress string
商户创建提现订单时传入的提现地址
withdrawAmount string
商户创建提现订单时传入的提现金额
注:是实际金额,必须为正数,可为小数
Responses
- 200
- 201
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
code int32required
状态码
msg stringrequired
成功或错误提示
data
object
nullable
txHash string
交易哈希
description string
错误提示详情
{
"code": 0,
"msg": "string",
"data": {
"txHash": "string"
},
"description": "string"
}
{
"code": 1,
"msg": "SUCCESS",
"data": {
"txHash": "0xe5e4b17390c26e7c804e99a778e3a4cf1ffb98168314c14bfea915abdbd0b0a0"
},
"description": ""
}
Created
Unauthorized
Forbidden
Not Found
Loading...