@ethereumjs/tx / EIP1559CompatibleTx
Interface: EIP1559CompatibleTx<T>
Type parameters
Hierarchy
Table of contents
Properties
Methods
Properties
AccessListJSON
• Readonly AccessListJSON: AccessList
Inherited from
EIP2930CompatibleTx.AccessListJSON
Defined in
tx/src/types.ts:186
accessList
• Readonly accessList: AccessListBytes
Inherited from
EIP2930CompatibleTx.accessList
Defined in
tx/src/types.ts:185
cache
• Readonly cache: TransactionCache
Inherited from
EIP2930CompatibleTx.cache
Defined in
tx/src/types.ts:150
chainId
• Readonly chainId: bigint
Inherited from
EIP2930CompatibleTx.chainId
Defined in
tx/src/types.ts:179
common
• Readonly common: Common
Inherited from
EIP2930CompatibleTx.common
Defined in
tx/src/types.ts:141
data
• Readonly data: Uint8Array
Inherited from
EIP2930CompatibleTx.data
Defined in
tx/src/types.ts:146
gasLimit
• Readonly gasLimit: bigint
Inherited from
EIP2930CompatibleTx.gasLimit
Defined in
tx/src/types.ts:143
maxFeePerGas
• Readonly maxFeePerGas: bigint
Defined in
tx/src/types.ts:192
maxPriorityFeePerGas
• Readonly maxPriorityFeePerGas: bigint
Defined in
tx/src/types.ts:191
nonce
• Readonly nonce: bigint
Inherited from
EIP2930CompatibleTx.nonce
Defined in
tx/src/types.ts:142
r
• Optional Readonly r: bigint
Inherited from
EIP2930CompatibleTx.r
Defined in
tx/src/types.ts:148
s
• Optional Readonly s: bigint
Inherited from
EIP2930CompatibleTx.s
Defined in
tx/src/types.ts:149
to
• Optional Readonly to: Address
Inherited from
EIP2930CompatibleTx.to
Defined in
tx/src/types.ts:144
type
• type: TransactionType
Inherited from
EIP2930CompatibleTx.type
Defined in
tx/src/types.ts:152
v
• Optional Readonly v: bigint
Inherited from
EIP2930CompatibleTx.v
Defined in
tx/src/types.ts:147
value
• Readonly value: bigint
Inherited from
EIP2930CompatibleTx.value
Defined in
tx/src/types.ts:145
Methods
errorStr
▸ errorStr(): string
Returns
string
Inherited from
EIP2930CompatibleTx.errorStr
Defined in
tx/src/types.ts:171
getBaseFee
▸ getBaseFee(): bigint
Returns
bigint
Inherited from
EIP2930CompatibleTx.getBaseFee
Defined in
tx/src/types.ts:153
getDataFee
▸ getDataFee(): bigint
Returns
bigint
Inherited from
EIP2930CompatibleTx.getDataFee
Defined in
tx/src/types.ts:154
getHashedMessageToSign
▸ getHashedMessageToSign(): Uint8Array
Returns
Uint8Array
Inherited from
EIP2930CompatibleTx.getHashedMessageToSign
Defined in
tx/src/types.ts:160
getMessageToSign
▸ getMessageToSign(): Uint8Array
Returns
Uint8Array
Inherited from
EIP2930CompatibleTx.getMessageToSign
Defined in
tx/src/types.ts:180
getMessageToVerifySignature
▸ getMessageToVerifySignature(): Uint8Array
Returns
Uint8Array
Inherited from
EIP2930CompatibleTx.getMessageToVerifySignature
Defined in
tx/src/types.ts:162
getSenderAddress
▸ getSenderAddress(): Address
Returns
Address
Inherited from
EIP2930CompatibleTx.getSenderAddress
Defined in
tx/src/types.ts:167
getSenderPublicKey
▸ getSenderPublicKey(): Uint8Array
Returns
Uint8Array
Inherited from
EIP2930CompatibleTx.getSenderPublicKey
Defined in
tx/src/types.ts:168
getUpfrontCost
▸ getUpfrontCost(): bigint
Returns
bigint
Inherited from
EIP2930CompatibleTx.getUpfrontCost
Defined in
tx/src/types.ts:155
getValidationErrors
▸ getValidationErrors(): string[]
Returns
string[]
Inherited from
EIP2930CompatibleTx.getValidationErrors
Defined in
tx/src/types.ts:163
hash
▸ hash(): Uint8Array
Returns
Uint8Array
Inherited from
EIP2930CompatibleTx.hash
Defined in
tx/src/types.ts:161
isSigned
▸ isSigned(): boolean
Returns
boolean
Inherited from
EIP2930CompatibleTx.isSigned
Defined in
tx/src/types.ts:164
isValid
▸ isValid(): boolean
Returns
boolean
Inherited from
EIP2930CompatibleTx.isValid
Defined in
tx/src/types.ts:165
raw
▸ raw(): TxValuesArray[T]
Returns
TxValuesArray[T]
Inherited from
EIP2930CompatibleTx.raw
Defined in
tx/src/types.ts:157
serialize
▸ serialize(): Uint8Array
Returns
Uint8Array
Inherited from
EIP2930CompatibleTx.serialize
Defined in
tx/src/types.ts:158
sign
▸ sign(privateKey): Transaction[T]
Parameters
| Name |
Type |
privateKey |
Uint8Array |
Returns
Transaction[T]
Inherited from
EIP2930CompatibleTx.sign
Defined in
tx/src/types.ts:169
supports
▸ supports(capability): boolean
Parameters
Returns
boolean
Inherited from
EIP2930CompatibleTx.supports
Defined in
tx/src/types.ts:151
toCreationAddress
▸ toCreationAddress(): boolean
Returns
boolean
Inherited from
EIP2930CompatibleTx.toCreationAddress
Defined in
tx/src/types.ts:156
toJSON
▸ toJSON(): JsonTx
Returns
JsonTx
Inherited from
EIP2930CompatibleTx.toJSON
Defined in
tx/src/types.ts:170
verifySignature
▸ verifySignature(): boolean
Returns
boolean
Inherited from
EIP2930CompatibleTx.verifySignature
Defined in
tx/src/types.ts:166