/estimateFee - The Open Network (TON)

Example code for the /estimateFee json-rpc method. Сomplete guide on how to use /estimateFee json-rpc in GetBlock.io Web3 documentation.

Parameters

address - body

string, required

address in any format

body - body

string, required

b64-encoded cell with message body

init_code - body

string, optional

b64-encoded boc-serialized cell with init-code

init_data - body

string, optional

b64-encoded boc-serialized cell with init-data

ignore_chksig - body

boolean, optional, default true

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

Request

curl --location --request POST 'https://ton.getblock.io/mainnet/rest/estimateFee?' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"address": "EQA-kuB9yN9P7LJJ9WAPx1KdPoSKWfO2vzb9itId1_l_Dr4H"}'

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.