⚡ We welcome businesses to test our enterprise-grade service

Method: POST /walletsolidity/getblockbylatestnum

dropdown

方法 REST /walletsolidity/getblockbylatestnum 例如 Tron (TRX)

POST /walletsolidity/getblockbylatestnum

Method not allowed

按数字获得最后的坚固块

Parameters

num -

INT32,需要

Request

curl --location --request POST 'https://trx.getblock.io/walletsolidity/getblockbylatestnum' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"num": 47963997}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}