Skip to main content
GET
/
block
/
{shard}
/
by-nonce
/
{nonce}
Get block by nonce
curl --request GET \
  --url https://api.example.com/block/{shard}/by-nonce/{nonce}
const options = {method: 'GET'};

fetch('https://api.example.com/block/{shard}/by-nonce/{nonce}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://api.example.com/block/{shard}/by-nonce/{nonce}"

response = requests.get(url)

print(response.text)
false
{}

Path Parameters

shard
string
required

Shard ID

nonce
string
required

Block nonce

Query Parameters

withTxs
boolean

Include transactions in the block

withLogs
boolean

Include logs in the block

Response

Successful response

The response is of type object.