@cyberchain/smart-contract-wrapper
@cyberchain/smart-contract-wrapper / MethodTransactionOptions
Defined in: src/types.ts:318
Options for sending a method transaction
optionalchainId:QuantityLike
Defined in: src/types.ts:334
Chain ID
complementaryAddress:
string
Defined in: src/types.ts:329
Complementary address If signing with ECDSA, the ML-DSA address If signing with ML-DSA, the ECDSA address
optionalgasLimit:QuantityLike
Defined in: src/types.ts:360
Gas limit, by default it used the estimated gas
optionalgasPrice:QuantityLike
Defined in: src/types.ts:345
Gas price, by default it used the recommended gas price
optionalisFeeMarket:boolean
Defined in: src/types.ts:340
Fee market transaction? (to use fee instead of gas price) True by default
optionallogFunction: (msg) =>void
Defined in: src/types.ts:378
Log Function to receive progress messages
string
void
optionalmaxFeePerGas:QuantityLike
Defined in: src/types.ts:355
The maximum total fee
optionalmaxPriorityFeePerGas:QuantityLike
Defined in: src/types.ts:350
The maximum inclusion fee per gas (this fee is given to the miner)
optionalnonce:QuantityLike
Defined in: src/types.ts:373
Transaction nonce. If not provided:
- The transactions count is used.
- In case of collision, the transaction will be retried with a new nonce.
optionalreceiptWaitTimeout:number
Defined in: src/types.ts:365
Timeout in milliseconds to wait for the transaction receipt. Set to 0 for no timeout. By default no timeout.
signKey:
SignKey
Defined in: src/types.ts:322
Key to sign the transaction