Skip to content

Block Types

Block.Block

A Block as defined in the Execution API specification.

Source: src/Block.ts

Block.Hash

A Block hash.

Source: src/Block.ts

Block.Number

A Block number.

Source: src/Block.ts

Block.Rpc

An RPC Block as defined in the Execution API specification.

Source: src/Block.ts

Block.Tag

A Block Tag as defined in the Execution API specification.

  • earliest: The lowest numbered block the client has available; - finalized: The most recent crypto-economically secure block, cannot be re-orged outside of manual intervention driven by community coordination; - safe: The most recent block that is safe from re-orgs under honest majority and certain synchronicity assumptions; - latest: The most recent block in the canonical chain observed by the client, this block may be re-orged out of the canonical chain even under healthy/normal conditions; - pending: A sample next block built by the client on top of latest and containing the set of transactions usually taken from local mempool.

Source: src/Block.ts