跳转至

钱包提币

地址/v1/wallet/withdraw

接收参数

需要

提交方式: POST

API Key 权限:提币

示例

Bash
curl -X POST "https://oapi.websea.com/v1/wallet/withdraw" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -H "Token: YOUR_TOKEN" \
  -H "Nonce: 1700000000_abcd1" \
  -H "Signature: GENERATED_SIGNATURE" \
  -d "address=0x77a41..." \
  -d "amount=0.5" \
  -d "currency=BTC" \
  -d "chain=ERC20"

提交参数

参数名 是否必填 类型 示例 说明
address 是 string 0x77a41... 地址(仅支持官网提币列表中的地址)
amount 是 string 0.5 数量
currency 是 string BTC 币种(仅支持官网资产列表所支持的可提币币种)
chain 是 string ERC20 链(支持币种以及链类型查看币种充提信息)
memo 否 string 598 标签

返回参数

参数名 是否必填 类型 示例 说明
errno 是 int 0 状态码
errmsg 是 string success 状态信息
result 是 list 见示例 列表

result参数说明

参数名 是否必填 类型 示例 说明
withdrawId 是 string 500 提币记录id

返回示例

JSON
{
    "errno": 0,
    "errmsg": "success",
    "result":
        {
            "withdrawId": "500"
        }
}