@ethereumjs/tx
- AccessList
- AccessListBuffer
- AccessListBufferItem
- AccessListEIP2930ValuesArray
- AccessListItem
- FeeMarketEIP1559ValuesArray
- TxData
- TxValuesArray
- TypedTransaction
Ƭ AccessList: AccessListItem
[]
Ƭ AccessListBuffer: AccessListBufferItem
[]
Ƭ AccessListBufferItem: [Buffer
, Buffer
[]]
Ƭ AccessListEIP2930ValuesArray: [Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, AccessListBuffer
, Buffer?, Buffer?, Buffer?]
Buffer values array for an AccessListEIP2930Transaction
Ƭ AccessListItem: Object
Name | Type |
---|---|
address |
PrefixedHexString |
storageKeys |
PrefixedHexString [] |
Ƭ FeeMarketEIP1559ValuesArray: [Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, Buffer
, AccessListBuffer
, Buffer?, Buffer?, Buffer?]
Buffer values array for a FeeMarketEIP1559Transaction
Ƭ TxData: Object
Legacy Transaction Data
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. |
Ƭ TxValuesArray: Buffer
[]
Buffer values array for a legacy Transaction
Ƭ 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.
• N_DIV_2: BN
A const defining secp256k1n/2
▸ isAccessList(input
): input is AccessList
Name | Type |
---|---|
input |
AccessListBuffer | AccessList |
input is AccessList
▸ isAccessListBuffer(input
): input is AccessListBuffer
Name | Type |
---|---|
input |
AccessListBuffer | AccessList |
input is AccessListBuffer