@ethereumjs/tx / TransactionInterface
Name | Type |
---|---|
T |
extends TransactionType = TransactionType |
TransactionInterface
• 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
▸ getDataFee(): bigint
bigint
▸ getHashedMessageToSign(): Uint8Array
Uint8Array
▸ getMessageToSign(): Uint8Array
| Uint8Array
[]
Uint8Array
| Uint8Array
[]
▸ getMessageToVerifySignature(): Uint8Array
Uint8Array
▸ getSenderAddress(): Address
Address
▸ getSenderPublicKey(): Uint8Array
Uint8Array
▸ getUpfrontCost(): bigint
bigint
▸ getValidationErrors(): string
[]
string
[]
▸ hash(): Uint8Array
Uint8Array
▸ isSigned(): boolean
boolean
▸ isValid(): boolean
boolean
▸ raw(): TxValuesArray
[T
]
▸ serialize(): Uint8Array
Uint8Array
▸ sign(privateKey
): Transaction
[T
]
Name | Type |
---|---|
privateKey |
Uint8Array |
Transaction
[T
]
▸ supports(capability
): boolean
Name | Type |
---|---|
capability |
Capability |
boolean
▸ toCreationAddress(): boolean
boolean
▸ toJSON(): JsonTx
▸ verifySignature(): boolean
boolean