⚡ We welcome businesses to test our enterprise-grade service

Method: POST /walletsolidity/getblockbylatestnum

dropdown

Method REST /walletsolidity/getblockbylatestnum example for Tron (TRX)

POST /walletsolidity/getblockbylatestnum

Method not allowed

Get last solidity block by number

Parameters

num - int32, required

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"
}