跳到主要内容

获取现货账户账单流水

HTTP请求 获取现货账户账单流水

  • POST /api/v2/account/bills

权重(IP): 5, 权重(UID): 5

请求参数

参数名参数类型是否必须描述
coinIdInteger币种ID
bizTypeStringNo业务类型
deposit: 充值
withdraw: 提现
transfer_in: 不同账户间的转入
transfer_out: 不同账户间的转出
trade_in: 成交导致的资产增加
trade_out: 成交导致的资产减少
rake_back_reward: 返佣奖励
airdrop_reward: 财务空投奖励
rr_agent_reward: 邀请好友返佣奖励
launch_pad_airdrop_in: LaunchPool空投转入
launch_pad_airdrop_out: LaunchPool空投转出
system_issued: 系统发放
airdrop_reward_for_product_activity: 活动空投奖励
red_packet_create: 红包创建
red_packet_claim: 红包领取
red_packet_refund: 红包退回
afterLong开始时间之后创建的流水
beforeLong结束时间之前创建的流水
limitInteger返回结果的数量,默认10,最大100

请求示例

curl -X POST "https://api-spot.weex.com/api/v2/account/bills" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{"coinId": 1}'

返回参数

字段名类型字段说明
billIdString账单ID
coinIdInteger币种ID
coinNameString币种名称
bizTypeString流水账单业务类型
fillSizeString成交数量
fillValueString成交价值
deltaAmountString余额变动数量
afterAmountString变动后的余额数量
feesString手续费
cTimeString创建时间

返回示例

{
"code": "00000",
"msg": "success",
"requestTime": 1743732387987,
"data": [{
"billId": "601797854712824762",
"coinId": 1,
"coinName": "BTC",
"bizType": "transfer_in",
"fillSize": "0",
"fillValue": "0",
"deltaAmount": "0.0040000000000000",
"afterAmount": "0.0040000000000000",
"fees": "0",
"cTime": "1743479789427"
}]
}