Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface L2Transaction

JSON transaction representation when returned by L2Geth nodes. This is simply an extension to the standard transaction response type. You do NOT need to use this type unless you care about having typed access to L2-specific fields.

Hierarchy

  • TransactionResponse
    • L2Transaction

Index

Properties

accessList?: AccessList
blockHash?: string
blockNumber?: number
chainId: number
confirmations: number
data: string
from: string
gasLimit: BigNumber
gasPrice?: BigNumber
hash: string
l1BlockNumber: number
l1TxOrigin: string
maxFeePerGas?: BigNumber
maxPriorityFeePerGas?: BigNumber
nonce: number
queueOrigin: string
r?: string
raw?: string
rawTransaction: string
s?: string
timestamp?: number
to?: string
type?: number
v?: number
value: BigNumber

Methods

  • wait(confirmations?: number): Promise<TransactionReceipt>
  • Parameters

    • Optional confirmations: number

    Returns Promise<TransactionReceipt>

Generated using TypeDoc