ethereumjs-monorepo

@ethereumjs/tx / EIP4844CompatibleTx

Interface: EIP4844CompatibleTx<T>

Type parameters

Name Type
T extends TransactionType = TransactionType

Hierarchy

Table of contents

Properties

Methods

Properties

AccessListJSON

Readonly AccessListJSON: AccessList

Inherited from

EIP1559CompatibleTx.AccessListJSON

Defined in

tx/src/types.ts:186


accessList

Readonly accessList: AccessListBytes

Inherited from

EIP1559CompatibleTx.accessList

Defined in

tx/src/types.ts:185


blobVersionedHashes

blobVersionedHashes: Uint8Array[]

Defined in

tx/src/types.ts:198


blobs

Optional blobs: Uint8Array[]

Defined in

tx/src/types.ts:199


cache

Readonly cache: TransactionCache

Inherited from

EIP1559CompatibleTx.cache

Defined in

tx/src/types.ts:150


chainId

Readonly chainId: bigint

Inherited from

EIP1559CompatibleTx.chainId

Defined in

tx/src/types.ts:179


common

Readonly common: Common

Inherited from

EIP1559CompatibleTx.common

Defined in

tx/src/types.ts:141


data

Readonly data: Uint8Array

Inherited from

EIP1559CompatibleTx.data

Defined in

tx/src/types.ts:146


gasLimit

Readonly gasLimit: bigint

Inherited from

EIP1559CompatibleTx.gasLimit

Defined in

tx/src/types.ts:143


kzgCommitments

Optional kzgCommitments: Uint8Array[]

Defined in

tx/src/types.ts:200


kzgProofs

Optional kzgProofs: Uint8Array[]

Defined in

tx/src/types.ts:201


maxFeePerBlobGas

Readonly maxFeePerBlobGas: bigint

Defined in

tx/src/types.ts:197


maxFeePerGas

Readonly maxFeePerGas: bigint

Inherited from

EIP1559CompatibleTx.maxFeePerGas

Defined in

tx/src/types.ts:192


maxPriorityFeePerGas

Readonly maxPriorityFeePerGas: bigint

Inherited from

EIP1559CompatibleTx.maxPriorityFeePerGas

Defined in

tx/src/types.ts:191


nonce

Readonly nonce: bigint

Inherited from

EIP1559CompatibleTx.nonce

Defined in

tx/src/types.ts:142


r

Optional Readonly r: bigint

Inherited from

EIP1559CompatibleTx.r

Defined in

tx/src/types.ts:148


s

Optional Readonly s: bigint

Inherited from

EIP1559CompatibleTx.s

Defined in

tx/src/types.ts:149


to

Optional Readonly to: Address

Inherited from

EIP1559CompatibleTx.to

Defined in

tx/src/types.ts:144


type

type: TransactionType

Inherited from

EIP1559CompatibleTx.type

Defined in

tx/src/types.ts:152


v

Optional Readonly v: bigint

Inherited from

EIP1559CompatibleTx.v

Defined in

tx/src/types.ts:147


value

Readonly value: bigint

Inherited from

EIP1559CompatibleTx.value

Defined in

tx/src/types.ts:145

Methods

errorStr

errorStr(): string

Returns

string

Inherited from

EIP1559CompatibleTx.errorStr

Defined in

tx/src/types.ts:171


getBaseFee

getBaseFee(): bigint

Returns

bigint

Inherited from

EIP1559CompatibleTx.getBaseFee

Defined in

tx/src/types.ts:153


getDataFee

getDataFee(): bigint

Returns

bigint

Inherited from

EIP1559CompatibleTx.getDataFee

Defined in

tx/src/types.ts:154


getHashedMessageToSign

getHashedMessageToSign(): Uint8Array

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getHashedMessageToSign

Defined in

tx/src/types.ts:160


getMessageToSign

getMessageToSign(): Uint8Array

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getMessageToSign

Defined in

tx/src/types.ts:180


getMessageToVerifySignature

getMessageToVerifySignature(): Uint8Array

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getMessageToVerifySignature

Defined in

tx/src/types.ts:162


getSenderAddress

getSenderAddress(): Address

Returns

Address

Inherited from

EIP1559CompatibleTx.getSenderAddress

Defined in

tx/src/types.ts:167


getSenderPublicKey

getSenderPublicKey(): Uint8Array

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.getSenderPublicKey

Defined in

tx/src/types.ts:168


getUpfrontCost

getUpfrontCost(): bigint

Returns

bigint

Inherited from

EIP1559CompatibleTx.getUpfrontCost

Defined in

tx/src/types.ts:155


getValidationErrors

getValidationErrors(): string[]

Returns

string[]

Inherited from

EIP1559CompatibleTx.getValidationErrors

Defined in

tx/src/types.ts:163


hash

hash(): Uint8Array

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.hash

Defined in

tx/src/types.ts:161


isSigned

isSigned(): boolean

Returns

boolean

Inherited from

EIP1559CompatibleTx.isSigned

Defined in

tx/src/types.ts:164


isValid

isValid(): boolean

Returns

boolean

Inherited from

EIP1559CompatibleTx.isValid

Defined in

tx/src/types.ts:165


numBlobs

numBlobs(): number

Returns

number

Defined in

tx/src/types.ts:203


raw

raw(): TxValuesArray[T]

Returns

TxValuesArray[T]

Inherited from

EIP1559CompatibleTx.raw

Defined in

tx/src/types.ts:157


serialize

serialize(): Uint8Array

Returns

Uint8Array

Inherited from

EIP1559CompatibleTx.serialize

Defined in

tx/src/types.ts:158


serializeNetworkWrapper

serializeNetworkWrapper(): Uint8Array

Returns

Uint8Array

Defined in

tx/src/types.ts:202


sign

sign(privateKey): Transaction[T]

Parameters

Name Type
privateKey Uint8Array

Returns

Transaction[T]

Inherited from

EIP1559CompatibleTx.sign

Defined in

tx/src/types.ts:169


supports

supports(capability): boolean

Parameters

Name Type
capability Capability

Returns

boolean

Inherited from

EIP1559CompatibleTx.supports

Defined in

tx/src/types.ts:151


toCreationAddress

toCreationAddress(): boolean

Returns

boolean

Inherited from

EIP1559CompatibleTx.toCreationAddress

Defined in

tx/src/types.ts:156


toJSON

toJSON(): JsonTx

Returns

JsonTx

Inherited from

EIP1559CompatibleTx.toJSON

Defined in

tx/src/types.ts:170


verifySignature

verifySignature(): boolean

Returns

boolean

Inherited from

EIP1559CompatibleTx.verifySignature

Defined in

tx/src/types.ts:166