Skip to main content
POST
Master Wallet Network Fee

Batch Operations

This endpoint supports batch operations, allowing you to estimate network fees for multiple withdrawal operations in a single API call.

Batch Request Format

To estimate fees for multiple withdrawals, use the assets array:

Batch Response Format

Returns individual fees plus totals:

Response Fields

Validation Rules

Use Cases

  • Multi-recipient withdrawal: Estimate fees for sending to multiple addresses
  • Bulk payouts: Calculate total cost for batch payment operations
  • Budget planning: Plan withdrawal operations with accurate fee estimates

授权

x-api-key
string
header
必填

路径参数

walletId
string
必填
示例:

"{{walletId}}"

请求体

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