@ethereumjs/tx / LegacyTxInterface
Defined in: types.ts:235
T
extends TransactionType
= TransactionType
readonly
cache:TransactionCache
Defined in: types.ts:203
readonly
common:Common
Defined in: types.ts:194
readonly
data:Uint8Array
Defined in: types.ts:199
readonly
gasLimit:bigint
Defined in: types.ts:196
readonly
nonce:bigint
Defined in: types.ts:195
readonly
optional
r:bigint
Defined in: types.ts:201
readonly
optional
s:bigint
Defined in: types.ts:202
readonly
optional
to:Address
Defined in: types.ts:197
txOptions:
TxOptions
Defined in: types.ts:206
TransactionInterface
.txOptions
type:
TransactionType
Defined in: types.ts:205
readonly
optional
v:bigint
Defined in: types.ts:200
readonly
value:bigint
Defined in: types.ts:198
addSignature(
v
,r
,s
,convertV?
):Transaction
[T
]
Defined in: types.ts:227
bigint
bigint |
Uint8Array <ArrayBufferLike > |
bigint |
Uint8Array <ArrayBufferLike > |
boolean
Transaction
[T
]
TransactionInterface
.addSignature
errorStr():
string
Defined in: types.ts:225
string
getDataGas():
bigint
Defined in: types.ts:208
bigint
TransactionInterface
.getDataGas
getHashedMessageToSign():
Uint8Array
Defined in: types.ts:214
Uint8Array
TransactionInterface
.getHashedMessageToSign
getIntrinsicGas():
bigint
Defined in: types.ts:207
bigint
TransactionInterface
.getIntrinsicGas
getMessageToSign():
Uint8Array
<ArrayBufferLike
> |Uint8Array
<ArrayBufferLike
>[]
Defined in: types.ts:213
Uint8Array
<ArrayBufferLike
> | Uint8Array
<ArrayBufferLike
>[]
TransactionInterface
.getMessageToSign
getMessageToVerifySignature():
Uint8Array
Defined in: types.ts:216
Uint8Array
TransactionInterface
.getMessageToVerifySignature
getSenderAddress():
Address
Defined in: types.ts:221
Address
TransactionInterface
.getSenderAddress
getSenderPublicKey():
Uint8Array
Defined in: types.ts:222
Uint8Array
TransactionInterface
.getSenderPublicKey
getUpfrontCost():
bigint
Defined in: types.ts:209
bigint
TransactionInterface
.getUpfrontCost
getValidationErrors():
string
[]
Defined in: types.ts:217
string
[]
TransactionInterface
.getValidationErrors
hash():
Uint8Array
Defined in: types.ts:215
Uint8Array
isSigned():
boolean
Defined in: types.ts:218
boolean
isValid():
boolean
Defined in: types.ts:219
boolean
raw():
TxValuesArray
[T
]
Defined in: types.ts:211
serialize():
Uint8Array
Defined in: types.ts:212
Uint8Array
TransactionInterface
.serialize
sign(
privateKey
,extraEntropy?
):Transaction
[T
]
Defined in: types.ts:223
Uint8Array
boolean |
Uint8Array <ArrayBufferLike > |
Transaction
[T
]
supports(
capability
):boolean
Defined in: types.ts:204
number
boolean
toCreationAddress():
boolean
Defined in: types.ts:210
boolean
TransactionInterface
.toCreationAddress
toJSON():
JSONTx
Defined in: types.ts:224
verifySignature():
boolean
Defined in: types.ts:220
boolean