APIsTON CenterLegacy (v2)
Estimate Fee
Estimate fees required for query processing. Fields body, init-code and init-data accepted in serialized format (b64-encoded).
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"
}