Optional broadcastOptional broadcastIf BroadcastMode.Sync - Broadcast transaction to mempool and wait for CheckTx response.
If BroadcastMode.Async Broadcast transaction to mempool and do not wait for CheckTx response.
Optional broadcastHow much time (in milliseconds) to wait for tx to commit on-chain.
Defaults to 60_000. Ignored if waitForCommit = false.
Optional explicitexplicitSignerData can be used to override chainId, accountNumber & accountSequence.
This is useful when using BroadcastMode.Async or when you don't want secretjs
to query for accountNumber & accountSequence from the chain. (smoother in UIs, less load on your node provider).
Optional feeDefaults to "uscrt".
Optional feeAddress of the fee granter from which to charge gas fees.
Optional gasDefaults to 25_000.
Optional gasE.g. gasPriceInFeeDenom=0.1 & feeDenom="uscrt" => Total fee for tx is 0.1 * gasLimituscrt. Defaults to 0.1.
Optional ibcOptions for resolving IBC ack/timeout txs that resulted from this tx.
Optional memo?: stringDefaults to "".
Optional waitIf false returns immediately with only the transactionHash field set. Defaults to true.
Generated using TypeDoc
When waiting for the tx to commit on-chain, how much time (in milliseconds) to wait between checks.
Smaller intervals will cause more load on your node provider. Keep in mind that blocks on Secret Network take about 6 seconds to finalize.
Defaults to
6_000. Ignored ifwaitForCommit = false.