Skip to main content
POST
Estimate transaction fee

Authorizations

X-API-Key
string
header
required

Headers

API-Version
enum<string>
default:v1

API version (defaults to the latest supported version if omitted).

Available options:
v1
Idempotency-Key
string

Unique key (1-255 printable ASCII chars) used to safely retry write operations. Same key + body returns the cached response; same key + different body returns 409.

Required string length: 1 - 255

Body

application/json
amount
string
required

Amount to send as a human-readable decimal in the asset's display unit

Example:

"25.5"

asset
string
required

Asset to send — the asset ID (e.g. USDT_TRX, USDC_ETH, TRX) or, for a single-chain wallet, the bare symbol (e.g. USDT) which resolves to the wallet's chain. See GET /assets for the full list.

Example:

"USDT_TRX"

to_address
string
required

Recipient address

Example:

"0x742d35Cc6634C0532925a3b844Bc454e4438f44e"

wallet_id
string<uuid>
required

Identifier of the wallet the transaction would be sent from

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

network
string
deprecated

Deprecated. The environment determines the network (live→mainnet, sandbox→testnet); an omitted value defaults to the wallet's network. Ignored when it contradicts the environment.

Example:

"mainnet"

sponsor
boolean

Whether to estimate fees as if the network fee were sponsored

treat_as_gross_amount
boolean

Whether the amount is treated as gross (fee deducted from it) rather than net

Response

Success

fee_levels
object

Fee quotes at each speed tier (low/medium/high).

object
string

Object type discriminator; always "fee_estimate".

Example:

"fee_estimate"

The recommended fee level for this transaction: low, medium, or high.

Example:

"medium"