ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / EIP4844CompatibleTx

Interface: EIP4844CompatibleTx<T>

Defined in: types.ts:273

Extends

Type Parameters

T

T extends TransactionType = TransactionType

Properties

accessList

readonly accessList: AccessListBytes

Defined in: types.ts:264

Inherited from

EIP1559CompatibleTx.accessList


blobs?

optional blobs: Uint8Array<ArrayBufferLike>[]

Defined in: types.ts:277


blobVersionedHashes

blobVersionedHashes: Uint8Array<ArrayBufferLike>[]

Defined in: types.ts:276


cache

readonly cache: TransactionCache

Defined in: types.ts:221

Inherited from

EIP1559CompatibleTx.cache


chainId

readonly chainId: bigint

Defined in: types.ts:258

Inherited from

EIP1559CompatibleTx.chainId


common

readonly common: Common

Defined in: types.ts:212

Inherited from

EIP1559CompatibleTx.common


data

readonly data: Uint8Array

Defined in: types.ts:217

Inherited from

EIP1559CompatibleTx.data


gasLimit

readonly gasLimit: bigint

Defined in: types.ts:214

Inherited from

EIP1559CompatibleTx.gasLimit


kzgCommitments?

optional kzgCommitments: Uint8Array<ArrayBufferLike>[]

Defined in: types.ts:278


kzgProofs?

optional kzgProofs: Uint8Array<ArrayBufferLike>[]

Defined in: types.ts:279


maxFeePerBlobGas

readonly maxFeePerBlobGas: bigint

Defined in: types.ts:275


maxFeePerGas

readonly maxFeePerGas: bigint

Defined in: types.ts:270

Inherited from

EIP1559CompatibleTx.maxFeePerGas


maxPriorityFeePerGas

readonly maxPriorityFeePerGas: bigint

Defined in: types.ts:269

Inherited from

EIP1559CompatibleTx.maxPriorityFeePerGas


nonce

readonly nonce: bigint

Defined in: types.ts:213

Inherited from

EIP1559CompatibleTx.nonce


r?

readonly optional r: bigint

Defined in: types.ts:219

Inherited from

EIP1559CompatibleTx.r


s?

readonly optional s: bigint

Defined in: types.ts:220

Inherited from

EIP1559CompatibleTx.s


to?

readonly optional to: Address

Defined in: types.ts:215

Inherited from

EIP1559CompatibleTx.to


txOptions

txOptions: TxOptions

Defined in: types.ts:224

Inherited from

EIP1559CompatibleTx.txOptions


type

type: TransactionType

Defined in: types.ts:223

Inherited from

EIP1559CompatibleTx.type


v?

readonly optional v: bigint

Defined in: types.ts:218

Inherited from

EIP1559CompatibleTx.v


value

readonly value: bigint

Defined in: types.ts:216

Inherited from

EIP1559CompatibleTx.value

Methods

addSignature()

addSignature(v, r, s, convertV?): Transaction[T]

Defined in: types.ts:245

Parameters

v

bigint

r
bigint Uint8Array<ArrayBufferLike>
s
bigint Uint8Array<ArrayBufferLike>
convertV?

boolean

Returns

Transaction[T]

Inherited from

EIP1559CompatibleTx.addSignature


errorStr()

errorStr(): string

Defined in: types.ts:243

Returns

string

Inherited from

EIP1559CompatibleTx.errorStr


getDataGas()

getDataGas(): bigint

Defined in: types.ts:226

Returns

bigint

Inherited from

EIP1559CompatibleTx.getDataGas


getHashedMessageToSign()

getHashedMessageToSign(): Uint8Array

Defined in: types.ts:232

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getHashedMessageToSign


getIntrinsicGas()

getIntrinsicGas(): bigint

Defined in: types.ts:225

Returns

bigint

Inherited from

EIP1559CompatibleTx.getIntrinsicGas


getMessageToSign()

getMessageToSign(): Uint8Array

Defined in: types.ts:259

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getMessageToSign


getMessageToVerifySignature()

getMessageToVerifySignature(): Uint8Array

Defined in: types.ts:234

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getMessageToVerifySignature


getSenderAddress()

getSenderAddress(): Address

Defined in: types.ts:239

Returns

Address

Inherited from

EIP1559CompatibleTx.getSenderAddress


getSenderPublicKey()

getSenderPublicKey(): Uint8Array

Defined in: types.ts:240

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getSenderPublicKey


getUpfrontCost()

getUpfrontCost(): bigint

Defined in: types.ts:227

Returns

bigint

Inherited from

EIP1559CompatibleTx.getUpfrontCost


getValidationErrors()

getValidationErrors(): string[]

Defined in: types.ts:235

Returns

string[]

Inherited from

EIP1559CompatibleTx.getValidationErrors


hash()

hash(): Uint8Array

Defined in: types.ts:233

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.hash


isSigned()

isSigned(): boolean

Defined in: types.ts:236

Returns

boolean

Inherited from

EIP1559CompatibleTx.isSigned


isValid()

isValid(): boolean

Defined in: types.ts:237

Returns

boolean

Inherited from

EIP1559CompatibleTx.isValid


numBlobs()

numBlobs(): number

Defined in: types.ts:281

Returns

number


raw()

raw(): TxValuesArray[T]

Defined in: types.ts:229

Returns

TxValuesArray[T]

Inherited from

EIP1559CompatibleTx.raw


serialize()

serialize(): Uint8Array

Defined in: types.ts:230

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.serialize


serializeNetworkWrapper()

serializeNetworkWrapper(): Uint8Array

Defined in: types.ts:280

Returns

Uint8Array


sign()

sign(privateKey, extraEntropy?): Transaction[T]

Defined in: types.ts:241

Parameters

privateKey

Uint8Array

extraEntropy?
boolean Uint8Array<ArrayBufferLike>

Returns

Transaction[T]

Inherited from

EIP1559CompatibleTx.sign


supports()

supports(capability): boolean

Defined in: types.ts:222

Parameters

capability

number

Returns

boolean

Inherited from

EIP1559CompatibleTx.supports


toCreationAddress()

toCreationAddress(): boolean

Defined in: types.ts:228

Returns

boolean

Inherited from

EIP1559CompatibleTx.toCreationAddress


toJSON()

toJSON(): JSONTx

Defined in: types.ts:242

Returns

JSONTx

Inherited from

EIP1559CompatibleTx.toJSON


verifySignature()

verifySignature(): boolean

Defined in: types.ts:238

Returns

boolean

Inherited from

EIP1559CompatibleTx.verifySignature