What's new
Runion

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

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

bitnepobit

Midle Weight
Депозит
$-127
[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".]
Ловлю такую ошибку (api.trongrid.io)

Кто сталкивался подскажите какие ноды поддерживают эту функцию - https://developers.tron.network/reference/estimateenergy-1
Изначальная задача вообще подсчет нужного кол-ва TRX для transfer(address,uint256) в смарт-контракте usdt
Буду благодарен за помощь
 
rnev99 сказал(а):
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 газа
 
Top