Skip to main content
POST
Estimate fee

Authorizations

X-API-Key
string
header
required

API key header of the form X-API-Key: <token>, where <token> is the API key. Requests without a key are limited to 1 RPS. Refer to the authentication guide for details.

Body

application/json

Request to estimate transaction fees. Include the target address, message body, and optionally init code/data for contract deployment.

address
string
required

Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.

body
string
required

Message body in BoC format, base64 encoded.

init_code
string

Contract code for deployment messages, BoC format, base64 encoded. Omit for regular transfers.

init_data
string

Initial contract storage for deployment, BoC format, base64 encoded. Omit for regular transfers.

ignore_chksig
boolean
default:true

Set to true to skip signature verification during fee estimation; otherwise false. Useful when a real signature is not yet available.

Response

Returns the estimated fees (gas, storage, forwarding) for the specified message.

ok
boolean
default:true
required

Returns true if the request succeeded; otherwise false. See the error field for details.

result
object
required

Response data. Present only when ok is true.

@extra
string

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.