Skip to main content
POST
/
v1
/
public
/
payouts
/
fee-estimate
Estimate network fee for payout (без создания)
curl --request POST \
  --url https://api.example.com/v1/public/payouts/fee-estimate \
  --header 'Content-Type: application/json' \
  --header 'X-Signature: <api-key>' \
  --data '
{
  "assetCode": "<string>",
  "destinationAddress": "<string>",
  "amount": "<string>"
}
'
{
  "networkFee": "1.1",
  "resource": {
    "kind": "energy",
    "amount": 65000
  },
  "estimatedConfirmationSeconds": 60
}

Authorizations

X-Signature
string
header
required

HMAC-SHA256-Hex(timestamp + "." + raw_body, api_secret)

Body

application/json
assetCode
string
required
destinationAddress
string
required
amount
string
required

Response

200 - application/json
networkFee
string
required

Оценка комиссии сети в native-единицах (string).

Example:

"1.1"

resource
object
required

Доп. ресурс: energy (TRON) / gas (EVM) / bytes (UTXO) / none.

Example:
{ "kind": "energy", "amount": 65000 }
estimatedConfirmationSeconds
number
required

Грубая оценка времени подтверждения (сек).

Example:

60