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