Skip to content

Latest commit

 

History

History
221 lines (128 loc) · 5.68 KB

README.md

File metadata and controls

221 lines (128 loc) · 5.68 KB

@ethereumjs/tx

@ethereumjs/tx

Table of contents

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Type aliases

AccessList

Ƭ AccessList: AccessListItem[]

Defined in

types.ts:80


AccessListBuffer

Ƭ AccessListBuffer: AccessListBufferItem[]

Defined in

types.ts:79


AccessListBufferItem

Ƭ AccessListBufferItem: [Buffer, Buffer[]]

Defined in

types.ts:78


AccessListEIP2930ValuesArray

Ƭ AccessListEIP2930ValuesArray: [Buffer, Buffer, Buffer, Buffer, Buffer, Buffer, Buffer, AccessListBuffer, Buffer?, Buffer?, Buffer?]

Buffer values array for an AccessListEIP2930Transaction

Defined in

types.ts:208


AccessListItem

Ƭ AccessListItem: Object

Type declaration

Name Type
address PrefixedHexString
storageKeys PrefixedHexString[]

Defined in

types.ts:70


FeeMarketEIP1559ValuesArray

Ƭ FeeMarketEIP1559ValuesArray: [Buffer, Buffer, Buffer, Buffer, Buffer, Buffer, Buffer, Buffer, AccessListBuffer, Buffer?, Buffer?, Buffer?]

Buffer values array for a FeeMarketEIP1559Transaction

Defined in

types.ts:225


TxData

Ƭ TxData: Object

Legacy Transaction Data

Type declaration

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

Defined in

types.ts:113


TxValuesArray

Ƭ TxValuesArray: Buffer[]

Buffer values array for a legacy Transaction

Defined in

types.ts:203


TypedTransaction

Ƭ TypedTransaction: Transaction | AccessListEIP2930Transaction | FeeMarketEIP1559Transaction

Encompassing type for all transaction types.

Note that this also includes legacy txs which are referenced as Transaction for compatibility reasons.

Defined in

types.ts:105

Variables

N_DIV_2

N_DIV_2: BN

A const defining secp256k1n/2

Defined in

types.ts:270

Functions

isAccessList

isAccessList(input): input is AccessList

Parameters

Name Type
input AccessListBuffer | AccessList

Returns

input is AccessList

Defined in

types.ts:95


isAccessListBuffer

isAccessListBuffer(input): input is AccessListBuffer

Parameters

Name Type
input AccessListBuffer | AccessList

Returns

input is AccessListBuffer

Defined in

types.ts:82