Type alias Block<TQuantity, TIncludeTransactions, TBlockTag, TTransaction>
Block<TQuantity, TIncludeTransactions, TBlockTag, TTransaction>: { baseFeePerGas: TQuantity | null; difficulty: TQuantity; extraData: Hex; gasLimit: TQuantity; gasUsed: TQuantity; hash: TBlockTag extends "pending" ? null : Hash; logsBloom: TBlockTag extends "pending" ? null : Hex; miner: Address; mixHash: Hash; nonce: TBlockTag extends "pending" ? null : Hex; number: TBlockTag extends "pending" ? null : TQuantity; parentHash: Hash; receiptsRoot: Hex; sealFields: Hex[]; sha3Uncles: Hash; size: TQuantity; stateRoot: Hash; timestamp: TQuantity; totalDifficulty: TQuantity | null; transactions: TIncludeTransactions extends true ? TTransaction[] : Hash[]; transactionsRoot: Hash; uncles: Hash[]; withdrawals?: Withdrawal[]; withdrawalsRoot?: Hex; } Type Parameters
TQuantity = bigint
TIncludeTransactions extends boolean = boolean
TTransaction = Transaction<bigint, number, TBlockTag extends "pending"
? true
: false>
Type declaration
baseFeePerGas: TQuantity | null
difficulty: TQuantity
extraData: Hex
gasLimit: TQuantity
gasUsed: TQuantity
hash: TBlockTag extends "pending"
? null
: Hash
logsBloom: TBlockTag extends "pending"
? null
: Hex
mixHash: Hash
nonce: TBlockTag extends "pending"
? null
: Hex
number: TBlockTag extends "pending"
? null
: TQuantity
parentHash: Hash
receiptsRoot: Hex
sealFields: Hex[]
sha3Uncles: Hash
size: TQuantity
stateRoot: Hash
timestamp: TQuantity
totalDifficulty: TQuantity | null
transactions: TIncludeTransactions extends true
? TTransaction[]
: Hash[]
transactionsRoot: Hash
uncles: Hash[]
Optional withdrawals?: Withdrawal[]
Optional withdrawalsRoot?: Hex
Base fee per gas