PreiseGitHubDashboard

TRON

wallet/getenergyprices10 Credits

Returns the history of the Energy price.

Netzwerk: tron

Parameter

Keine Parameter erforderlich (leeres params-Array).

Rückgabewert

Typ

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.

Codebeispiele

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