FiyatlandırmaGitHubKontrol paneli

TRON

protocol.WalletSolidity/GetAccount25 kredi

Returns an account by address (gRPC) (solidified state)

Ağ: tron

Parametreler

AdTürAçıklama
addressstringAccount address (bytes; base64 in the JSON form of the message).

Dönüş değeri

Tür

Object

Account message: address, account_name, type, balance (sun), create_time, votes, frozen / frozenV2 / unfrozenV2, account_resource, assetV2, owner / witness / active permissions and other fields.

Kod örnekleri

# the key of the endpoint goes in the x-token header; add -proto <file> when the node has no gRPC reflection
grpcurl \
  -H 'x-token: 7c9e6679-7425-40de-944b-e07fc1f90ae7' \
  -d '{
  "address": "<base64 address bytes>"
}' \
  grpc-holy-burned-sky-tron-mainnet.rpcnode.dev:443 \
  protocol.WalletSolidity/GetAccount