Skip to main content
POST
/
estimateFee
Estimate Fee
curl --request POST \
  --url https://toncenter.com/api/v2/estimateFee \
  --header 'Content-Type: application/json' \
  --data '{
  "address": "<string>",
  "body": "<string>",
  "init_code": "",
  "init_data": "",
  "ignore_chksig": true
}'
{
  "ok": true,
  "result": "<string>",
  "error": "<string>",
  "code": 123
}

Body

application/json
address
string
required

Address in any format

body
string
required

b64-encoded cell with message body

init_code
string
default:""

b64-encoded cell with init-code

init_data
string
default:""

b64-encoded cell with init-data

ignore_chksig
boolean
default:true

If true during test query processing assume that all chksig operations return True

Response

Successful Response

ok
boolean
required
result
error
string
code
integer
I