TONTONDocs
TON CenterV3Apiv2

applications/api/toncenter/v3/apiv2/estimate-fee

POST
/api/v3/estimateFee

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v3/estimateFee" \  -H "Content-Type: application/json" \  -d '{}'
{
  "destination_fees": [
    {
      "fwd_fee": 0,
      "gas_fee": 0,
      "in_fwd_fee": 0,
      "storage_fee": 0
    }
  ],
  "source_fees": {
    "fwd_fee": 0,
    "gas_fee": 0,
    "in_fwd_fee": 0,
    "storage_fee": 0
  }
}
{
  "code": 0,
  "error": "string"
}

Last updated on