Skip to main content
POST
Child Address Network Fee

批量操作

该端点支持批量操作,您可以在一次 API 调用中估算某个子地址上多笔提现的网络费用。

批量请求格式

如需估算多笔提现的费用,请使用 assets 数组:

批量响应格式

返回各项费用及合计:

响应字段

校验规则

使用场景

  • 多收款方提现:估算向多个地址转账的费用
  • 批量付款:计算批量支付操作的总成本
  • 预算规划:基于准确的费用估算安排提现

授权

x-api-key
string
header
必填

路径参数

walletId
string
必填
示例:

"YOUR_WALLET_ID"

addressId
string
必填
示例:

"ADDRESS_ID"

请求体

application/json
address
string

The destination wallet address used for fee estimation. Stellar accepts classic (G...), muxed (M...), and Soroban contract (C...) recipients. Contract recipients are valid for token assets only, not native XLM.

assets
object[]
示例:

响应

200 - application/json

Withdraw / Withdraw (Batch)

data
object
message
string
示例:

"Network fee fetched successfully"

statusCode
number
示例:

200