文档
定价GitHub控制台

TRON

wallet/getenergyprices10 额度

Returns the history of the Energy price.

网络: tron

参数

无需参数(params 数组为空)。

返回值

类型

Object

Object with prices, a comma-separated list of timestamp_ms:price pairs (price in sun per Energy, 0 = initial record), e.g. 0:100,1575871200000:20.

代码示例

curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/getenergyprices' \
  -X POST \
  -H 'content-type: application/json' \
  -d '{}'