요금GitHub대시보드

TRON

walletsolidity/getblockbyid (full)25 크레딧

Returns a solidified block by its id/hash (Solidity node API).

네트워크: tron변형: full

매개변수

이름타입설명
valuestringBlock id (hash).

반환값

타입

Object

Block object (blockID, block_header, transactions); {} when the block is not found.

코드 예제

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