ethereumjs-monorepo

@ethereumjs/tx


@ethereumjs/tx / EIP1559CompatibleTx

Interface: EIP1559CompatibleTx<T>

Defined in: types.ts:249

Extends

Extended by

Type Parameters

T

T extends TransactionType = TransactionType

Properties

accessList

readonly accessList: AccessListBytes

Defined in: types.ts:246

Inherited from

EIP2930CompatibleTx.accessList


cache

readonly cache: TransactionCache

Defined in: types.ts:203

Inherited from

EIP2930CompatibleTx.cache


chainId

readonly chainId: bigint

Defined in: types.ts:240

Inherited from

EIP2930CompatibleTx.chainId


common

readonly common: Common

Defined in: types.ts:194

Inherited from

EIP2930CompatibleTx.common


data

readonly data: Uint8Array

Defined in: types.ts:199

Inherited from

EIP2930CompatibleTx.data


gasLimit

readonly gasLimit: bigint

Defined in: types.ts:196

Inherited from

EIP2930CompatibleTx.gasLimit


maxFeePerGas

readonly maxFeePerGas: bigint

Defined in: types.ts:252


maxPriorityFeePerGas

readonly maxPriorityFeePerGas: bigint

Defined in: types.ts:251


nonce

readonly nonce: bigint

Defined in: types.ts:195

Inherited from

EIP2930CompatibleTx.nonce


r?

readonly optional r: bigint

Defined in: types.ts:201

Inherited from

EIP2930CompatibleTx.r


s?

readonly optional s: bigint

Defined in: types.ts:202

Inherited from

EIP2930CompatibleTx.s


to?

readonly optional to: Address

Defined in: types.ts:197

Inherited from

EIP2930CompatibleTx.to


txOptions

txOptions: TxOptions

Defined in: types.ts:206

Inherited from

EIP2930CompatibleTx.txOptions


type

type: TransactionType

Defined in: types.ts:205

Inherited from

EIP2930CompatibleTx.type


v?

readonly optional v: bigint

Defined in: types.ts:200

Inherited from

EIP2930CompatibleTx.v


value

readonly value: bigint

Defined in: types.ts:198

Inherited from

EIP2930CompatibleTx.value

Methods

addSignature()

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

Defined in: types.ts:227

Parameters

v

bigint

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

boolean

Returns

Transaction[T]

Inherited from

EIP2930CompatibleTx.addSignature


errorStr()

errorStr(): string

Defined in: types.ts:225

Returns

string

Inherited from

EIP2930CompatibleTx.errorStr


getDataGas()

getDataGas(): bigint

Defined in: types.ts:208

Returns

bigint

Inherited from

EIP2930CompatibleTx.getDataGas


getHashedMessageToSign()

getHashedMessageToSign(): Uint8Array

Defined in: types.ts:214

Returns

Uint8Array

Inherited from

EIP2930CompatibleTx.getHashedMessageToSign


getIntrinsicGas()

getIntrinsicGas(): bigint

Defined in: types.ts:207

Returns

bigint

Inherited from

EIP2930CompatibleTx.getIntrinsicGas


getMessageToSign()

getMessageToSign(): Uint8Array

Defined in: types.ts:241

Returns

Uint8Array

Inherited from

EIP2930CompatibleTx.getMessageToSign


getMessageToVerifySignature()

getMessageToVerifySignature(): Uint8Array

Defined in: types.ts:216

Returns

Uint8Array

Inherited from

EIP2930CompatibleTx.getMessageToVerifySignature


getSenderAddress()

getSenderAddress(): Address

Defined in: types.ts:221

Returns

Address

Inherited from

EIP2930CompatibleTx.getSenderAddress


getSenderPublicKey()

getSenderPublicKey(): Uint8Array

Defined in: types.ts:222

Returns

Uint8Array

Inherited from

EIP2930CompatibleTx.getSenderPublicKey


getUpfrontCost()

getUpfrontCost(): bigint

Defined in: types.ts:209

Returns

bigint

Inherited from

EIP2930CompatibleTx.getUpfrontCost


getValidationErrors()

getValidationErrors(): string[]

Defined in: types.ts:217

Returns

string[]

Inherited from

EIP2930CompatibleTx.getValidationErrors


hash()

hash(): Uint8Array

Defined in: types.ts:215

Returns

Uint8Array

Inherited from

EIP2930CompatibleTx.hash


isSigned()

isSigned(): boolean

Defined in: types.ts:218

Returns

boolean

Inherited from

EIP2930CompatibleTx.isSigned


isValid()

isValid(): boolean

Defined in: types.ts:219

Returns

boolean

Inherited from

EIP2930CompatibleTx.isValid


raw()

raw(): TxValuesArray[T]

Defined in: types.ts:211

Returns

TxValuesArray[T]

Inherited from

EIP2930CompatibleTx.raw


serialize()

serialize(): Uint8Array

Defined in: types.ts:212

Returns

Uint8Array

Inherited from

EIP2930CompatibleTx.serialize


sign()

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

Defined in: types.ts:223

Parameters

privateKey

Uint8Array

extraEntropy?
boolean Uint8Array<ArrayBufferLike>

Returns

Transaction[T]

Inherited from

EIP2930CompatibleTx.sign


supports()

supports(capability): boolean

Defined in: types.ts:204

Parameters

capability

number

Returns

boolean

Inherited from

EIP2930CompatibleTx.supports


toCreationAddress()

toCreationAddress(): boolean

Defined in: types.ts:210

Returns

boolean

Inherited from

EIP2930CompatibleTx.toCreationAddress


toJSON()

toJSON(): JSONTx

Defined in: types.ts:224

Returns

JSONTx

Inherited from

EIP2930CompatibleTx.toJSON


verifySignature()

verifySignature(): boolean

Defined in: types.ts:220

Returns

boolean

Inherited from

EIP2930CompatibleTx.verifySignature