Blocks
Get blocks returns real-time or historical blockchain block numbers and timestamps.
Last updated
[
{
"number": "17017595",
"timestamp": "1681127183",
"size": "379123",
"gasLimit": "30000000",
"gasUsed": "21721808",
"totalDifficulty": "58750003716598352816469",
"author": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97"
}
]{
"Unauthorized": "Invaild API Key"
}curl -H "apiKey: API KEY" https://api.abyiss.com/v1/blocks/ethereumimport urllib.request
url = "https://api.abyiss.com/v1/blocks/ethereum?apiKey="
print(urllib.request.urlopen(url).read())fetch("https://api.abyiss.com/v1/blocks/ethereum?apiKey=")
.then(response => response.json())
.then(data => console.log(data))require('axios')
.get("https://api.abyiss.com/v1/blocks/ethereum?apiKey=")
.then(response => console.log(response))require 'net/http'
uri = URI("https://api.abyiss.com/v1/blocks/ethereum?apiKey=")
puts Net::HTTP.get(uri)[
{
"number": "17017595",
"timestamp": "1681127183",
"size": "379123",
"gasLimit": "30000000",
"gasUsed": "21721808",
"totalDifficulty": "58750003716598352816469",
"author": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97"
}
]