요금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
}'