Skip to main content

@morph-l2/sdkDocs


@morph-l2/sdk / L2BlockWithTransactions

Interface: L2BlockWithTransactions

JSON block representation when returned by L2Geth nodes. Just a normal block but with L2Transaction objects instead of the standard transaction response object.

Extends

  • BlockWithTransactions

Properties

_difficulty

_difficulty: BigNumber

Inherited from

BlockWithTransactions._difficulty

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:41


baseFeePerGas?

optional baseFeePerGas: BigNumber

Inherited from

BlockWithTransactions.baseFeePerGas

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:46


difficulty

difficulty: number

Inherited from

BlockWithTransactions.difficulty

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:40


extraData

extraData: string

Inherited from

BlockWithTransactions.extraData

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:45


gasLimit

gasLimit: BigNumber

Inherited from

BlockWithTransactions.gasLimit

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:42


gasUsed

gasUsed: BigNumber

Inherited from

BlockWithTransactions.gasUsed

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:43


hash

hash: string

Inherited from

BlockWithTransactions.hash

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:35


miner

miner: string

Inherited from

BlockWithTransactions.miner

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:44


nonce

nonce: string

Inherited from

BlockWithTransactions.nonce

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:39


number

number: number

Inherited from

BlockWithTransactions.number

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:37


parentHash

parentHash: string

Inherited from

BlockWithTransactions.parentHash

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:36


stateRoot

stateRoot: string

Source

src/interfaces/l2-provider.ts:35


timestamp

timestamp: number

Inherited from

BlockWithTransactions.timestamp

Source

node_modules/@ethersproject/abstract-provider/lib/index.d.ts:38


transactions

transactions: [L2Transaction]

Overrides

BlockWithTransactions.transactions

Source

src/interfaces/l2-provider.ts:36