EstimateFee

Estimate Fee

Estimate fee for external message.

POSThttps://ton-index.nownodes.io/estimateFee
Authorization
Body
address*Address
body*Body
init_codeInit Code
init_dataInit Data
ignore_chksigIgnore Chksig
Response

Successful Response

Body
source_fees*Fee
destination_fees*Destination Fees
Request
const response = await fetch('https://ton-index.nownodes.io/estimateFee', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "address": "text",
      "body": "text"
    }),
});
const data = await response.json();
Response
{
  "source_fees": {},
  "destination_fees": [
    {}
  ]
}