ドキュメント
料金GitHubダッシュボード

TRON

walletsolidity/getdelegatedresource25クレジット

Returns the resources delegated from one account to another (solidified state).

ネットワーク: tron

パラメータ

名前型説明
fromAddressstringAddress of the account that delegates the resource.
toAddressstringAddress of the account that receives the resource.
visiblebooleantrue = base58 addresses (in the request and the response); false (default) = hex addresses. (任意)

戻り値

型

Object

Object with a delegatedResource array (from, to, frozen_balance_for_bandwidth, frozen_balance_for_energy, expire_time_for_bandwidth, expire_time_for_energy; balances in sun, times in ms); {} when nothing matches.

コード例

curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/walletsolidity/getdelegatedresource' \
  -X POST \
  -H 'content-type: application/json' \
  -d '{
  "fromAddress": "TLsV52sRDL79HXGGm9yzwKibb6BeruhUzy",
  "toAddress": "T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb",
  "visible": true
}'