getnowblock

TRONC1

Returns the most recent block, including its header and transactions. Takes no parameters.

Endpoint
POST https://api.1st-node.com/v1/tron/wallet/getnowblock

Returns

object — the latest block with header and transactions.

Request

curl https://api.1st-node.com/v1/tron/wallet/getnowblock \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{}'
{}

Response

{ "blockID": "0000000002fd…", "block_header": {}, "transactions": [] }
More blocks methods on TRON

TRON API

充值、拿密钥、上线。

自助开通。支持加密货币或银行卡。按额度计费——重型原语更贵,简单调用很便宜。

获取 API 密钥