ethereumjs-monorepo

@ethereumjs/tx

@ethereumjs/tx

Table of contents

Enumerations

Classes

Interfaces

Type Aliases

Functions

Type Aliases

AccessList

Ƭ AccessList: AccessListItem[]

Defined in

common/dist/cjs/interfaces.d.ts:51


AccessListBytes

Ƭ AccessListBytes: AccessListBytesItem[]

Defined in

common/dist/cjs/interfaces.d.ts:50


AccessListBytesItem

Ƭ AccessListBytesItem: [Uint8Array, Uint8Array[]]

Defined in

common/dist/cjs/interfaces.d.ts:49


AccessListItem

Ƭ AccessListItem: Object

Type declaration

Name Type
address PrefixedHexString
storageKeys PrefixedHexString[]

Defined in

common/dist/cjs/interfaces.d.ts:45


BlobEIP4844NetworkValuesArray

Ƭ BlobEIP4844NetworkValuesArray: [BlobEIP4844TxValuesArray, Uint8Array[], Uint8Array[], Uint8Array[]]

Defined in

tx/src/types.ts:422


LegacyTxData

Ƭ LegacyTxData: Object

Legacy Transaction Data

Type declaration

Name Type Description
data? BytesLike This will contain the data of the message or the init of a contract.
gasLimit? BigIntLike The transaction’s gas limit.
gasPrice? BigIntLike | null The transaction’s gas price.
nonce? BigIntLike The transaction’s nonce.
r? BigIntLike EC signature parameter.
s? BigIntLike EC signature parameter.
to? AddressLike The transaction’s the address is sent to.
type? BigIntLike The transaction type
v? BigIntLike EC recovery ID.
value? BigIntLike The amount of Ether sent.

Defined in

tx/src/types.ts:238


TypedTransaction

Ƭ TypedTransaction: Transaction[TransactionType]

Defined in

tx/src/types.ts:122


TypedTxData

Ƭ TypedTxData: TxData[TransactionType]

Defined in

tx/src/types.ts:213

Functions

isAccessList

isAccessList(input): input is AccessList

Parameters

Name Type
input AccessListBytes | AccessList

Returns

input is AccessList

Defined in

tx/src/types.ts:92


isAccessListBytes

isAccessListBytes(input): input is AccessListBytes

Parameters

Name Type
input AccessListBytes | AccessList

Returns

input is AccessListBytes

Defined in

tx/src/types.ts:81


isAccessListEIP2930Tx

isAccessListEIP2930Tx(tx): tx is AccessListEIP2930Transaction

Parameters

Name Type
tx TypedTransaction

Returns

tx is AccessListEIP2930Transaction

Defined in

tx/src/types.ts:128


isAccessListEIP2930TxData

isAccessListEIP2930TxData(txData): txData is AccessListEIP2930TxData

Parameters

Name Type
txData TypedTxData

Returns

txData is AccessListEIP2930TxData

Defined in

tx/src/types.ts:220


isBlobEIP4844Tx

isBlobEIP4844Tx(tx): tx is BlobEIP4844Transaction

Parameters

Name Type
tx TypedTransaction

Returns

tx is BlobEIP4844Transaction

Defined in

tx/src/types.ts:136


isBlobEIP4844TxData

isBlobEIP4844TxData(txData): txData is BlobEIP4844TxData

Parameters

Name Type
txData TypedTxData

Returns

txData is BlobEIP4844TxData

Defined in

tx/src/types.ts:230


isFeeMarketEIP1559Tx

isFeeMarketEIP1559Tx(tx): tx is FeeMarketEIP1559Transaction

Parameters

Name Type
tx TypedTransaction

Returns

tx is FeeMarketEIP1559Transaction

Defined in

tx/src/types.ts:132


isFeeMarketEIP1559TxData

isFeeMarketEIP1559TxData(txData): txData is FeeMarketEIP1559TxData

Parameters

Name Type
txData TypedTxData

Returns

txData is FeeMarketEIP1559TxData

Defined in

tx/src/types.ts:225


isLegacyTx

isLegacyTx(tx): tx is LegacyTransaction

Parameters

Name Type
tx TypedTransaction

Returns

tx is LegacyTransaction

Defined in

tx/src/types.ts:124


isLegacyTxData

isLegacyTxData(txData): txData is LegacyTxData

Parameters

Name Type
txData TypedTxData

Returns

txData is LegacyTxData

Defined in

tx/src/types.ts:215