@ethereumjs/tx / LegacyTxInterface
Name | Type |
---|---|
T |
extends TransactionType = TransactionType |
-
↳
LegacyTxInterface
- errorStr
- getBaseFee
- getDataFee
- getHashedMessageToSign
- getMessageToSign
- getMessageToVerifySignature
- getSenderAddress
- getSenderPublicKey
- getUpfrontCost
- getValidationErrors
- hash
- isSigned
- isValid
- raw
- serialize
- sign
- supports
- toCreationAddress
- toJSON
- verifySignature
• Readonly
cache: TransactionCache
• Readonly
common: Common
• Readonly
data: Uint8Array
• Readonly
gasLimit: bigint
• Readonly
nonce: bigint
• Optional
Readonly
r: bigint
• Optional
Readonly
s: bigint
• Optional
Readonly
to: Address
• type: TransactionType
• Optional
Readonly
v: bigint
• Readonly
value: bigint
▸ errorStr(): string
string
▸ getBaseFee(): bigint
bigint
TransactionInterface.getBaseFee
▸ getDataFee(): bigint
bigint
TransactionInterface.getDataFee
▸ getHashedMessageToSign(): Uint8Array
Uint8Array
TransactionInterface.getHashedMessageToSign
▸ getMessageToSign(): Uint8Array
| Uint8Array
[]
Uint8Array
| Uint8Array
[]
TransactionInterface.getMessageToSign
▸ getMessageToVerifySignature(): Uint8Array
Uint8Array
TransactionInterface.getMessageToVerifySignature
▸ getSenderAddress(): Address
Address
TransactionInterface.getSenderAddress
▸ getSenderPublicKey(): Uint8Array
Uint8Array
TransactionInterface.getSenderPublicKey
▸ getUpfrontCost(): bigint
bigint
TransactionInterface.getUpfrontCost
▸ getValidationErrors(): string
[]
string
[]
TransactionInterface.getValidationErrors
▸ hash(): Uint8Array
Uint8Array
▸ isSigned(): boolean
boolean
▸ isValid(): boolean
boolean
▸ raw(): TxValuesArray
[T
]
▸ serialize(): Uint8Array
Uint8Array
TransactionInterface.serialize
▸ sign(privateKey
): Transaction
[T
]
Name | Type |
---|---|
privateKey |
Uint8Array |
Transaction
[T
]
▸ supports(capability
): boolean
Name | Type |
---|---|
capability |
Capability |
boolean
▸ toCreationAddress(): boolean
boolean
TransactionInterface.toCreationAddress
▸ toJSON(): JsonTx
▸ verifySignature(): boolean
boolean