Skip to main content

Block

Block contains metadata for its identification and records the most recent transactions added to blockchain

type Block {
hash: ID!
height: Int!
time: Int!
size: Int!
numberOfTransactions: Int!
network: NetworkName!
l2Tx: [CwebTransactionGQL!]!
amountTransacted: Float!
tx: [Transaction!]!
}

Fields

Block.hash ● ID! non-null scalar

Hash of the block

Block.height ● Int! non-null scalar

Height of the block

Block.time ● Int! non-null scalar

Time of the block

Block.size ● Int! non-null scalar

Size of the block

Block.numberOfTransactions ● Int! non-null scalar

Number of L1 transactions in the block

Block.network ● NetworkName! non-null enum

Blockchain network

Block.l2Tx ● [CwebTransactionGQL!]! non-null object

Cweb transactions

Block.amountTransacted ● Float! non-null scalar

Heuristic estimation for the amount transacted within this block

Block.tx ● [Transaction!]! non-null object

List of L1 transactions in the block

Returned by

block

query  ● 

blockByHeight

query  ● 

blocks

subscription  ● 

lastBlocks

query

Member Of

Network

object

Coinweb © 2024