• XSS.stack #1 – первый литературный журнал от юзеров форума

Нужна TRON нода с поддержкой estimateEnergy

bitnepobit

HDD-drive
Пользователь
Регистрация
09.01.2024
Сообщения
45
Реакции
30
Ловлю такую ошибку (api.trongrid.io)
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "this node does not support estimate energy".]
Кто сталкивался подскажите какие ноды поддерживают эту функцию - https://developers.tron.network/reference/estimateenergy-1
Изначальная задача вообще подсчет нужного кол-ва TRX для transfer(address,uint256) в смарт-контракте usdt
Буду благодарен за помощь
 
Any full node implementation should support energy estimatio. Are you trying to calculate the required fee and shown to the user before the transaction is submitted to the blockchain ?
типа того, но как видишь не все ноды поддерживают estimate газа
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх