跳转到主要内容
POST
Child Address Network Fee

Batch Operations

This endpoint supports batch operations, allowing you to estimate network fees for multiple contract operations from a specific child address in a single API call.

Batch Request Format

To estimate fees for multiple operations, use the calls array:

Batch Response Format

Returns individual fees plus totals:

Response Fields

Validation Rules

Use Cases

  • Fee estimation: Calculate total cost before executing batch operations
  • Gas optimization: Compare fees across different operation orderings
  • Budget planning: Estimate costs for multi-step DeFi transactions

授权

x-api-key
string
header
必填

路径参数

walletId
string
必填
示例:

"YOUR_WALLET_ID"

addressId
string
必填
示例:

"ADDRESS_ID"

请求体

application/json
calls
object[]
示例:

响应

200 - application/json

Ethereum / Tron / Ethereum (Batch) / Tron (Batch)

data
object
message
string
示例:

"Network fee retrieved successfully"

statusCode
number
示例:

200