Skip to main content
POST
/
api
/
v3
/
estimateFee
Estimate Fee
curl --request POST \
  --url https://toncenter.com/api/v3/estimateFee \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "<string>",
  "body": "<string>",
  "ignore_chksig": true,
  "init_code": "<string>",
  "init_data": "<string>"
}'
{
  "destination_fees": [
    {
      "fwd_fee": 123,
      "gas_fee": 123,
      "in_fwd_fee": 123,
      "storage_fee": 123
    }
  ],
  "source_fees": {
    "fwd_fee": 123,
    "gas_fee": 123,
    "in_fwd_fee": 123,
    "storage_fee": 123
  }
}

Body

application/json

Estimate fee request.

address
string
body
string
ignore_chksig
boolean
init_code
string
init_data
string

Response

OK

destination_fees
object[]
source_fees
object
I