Blocks
Get block
Gets a block by block height or block hash on one of the Primary Network chains.
GET
/
v1
/
networks
/
{network}
/
blockchains
/
{blockchainId}
/
blocks
/
{blockId}
Authorizations
x-glacier-api-key
string
headerrequiredApi keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
Path Parameters
blockchainId
enum<string>
requiredA primary network blockchain id or alias.
Available options:
11111111111111111111111111111111LpoYY
, 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
, 2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm
, 2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV
, 2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5
, yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp
, vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu
, p-chain
, x-chain
, c-chain
network
enum<string>
requiredEither mainnet or testnet/fuji.
Available options:
mainnet
, fuji
, testnet
blockId
string
requiredA block identifier which is either a block number or the block hash.
Response
200 - application/json
blockNumber
string
requiredblockHash
string
requiredparentHash
string
requiredblockTimestamp
number
requiredblockType
string
requiredtxCount
number
requiredtransactions
string[]
requiredblockSizeBytes
number
requiredl1ValidatorsAccruedFees
number
activeL1Validators
number
currentSupply
string
proposerDetails
object
Was this page helpful?