curl --request POST \
--url https://toncenter.com/api/v2/estimateFee \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"body": "<string>",
"init_code": "<string>",
"init_data": "<string>",
"ignore_chksig": true
}
'{
"ok": true,
"result": {
"@type": "query.fees",
"source_fees": {
"@type": "fees",
"in_fwd_fee": 123,
"storage_fee": 123,
"gas_fee": 123,
"fwd_fee": 123
},
"destination_fees": [
{
"@type": "fees",
"in_fwd_fee": 123,
"storage_fee": 123,
"gas_fee": 123,
"fwd_fee": 123
}
]
}
}Estimate fee for query
curl --request POST \
--url https://toncenter.com/api/v2/estimateFee \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"body": "<string>",
"init_code": "<string>",
"init_data": "<string>",
"ignore_chksig": true
}
'{
"ok": true,
"result": {
"@type": "query.fees",
"source_fees": {
"@type": "fees",
"in_fwd_fee": 123,
"storage_fee": 123,
"gas_fee": 123,
"fwd_fee": 123
},
"destination_fees": [
{
"@type": "fees",
"in_fwd_fee": 123,
"storage_fee": 123,
"gas_fee": 123,
"fwd_fee": 123
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://toncenter.ness.su/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?