Protected constructorPrivate Readonly aminoReadonly broadcastReadonly broadcastPrivate Readonly gasReadonly registryPrivate signPrivate signPrivate Readonly signerOptional memo: stringOptional funds: readonly Coin[]Like execute but allows executing multiple messages in one transaction.
Optional memo: stringProtected forceProtected forcegetCodes() returns all codes and is just looping through all pagination pages.
This is potentially inefficient and advanced apps should consider creating their own query client to handle pagination together with the app's screens.
getContracts() returns all contract instances for one code and is just looping through all pagination pages.
This is potentially inefficient and advanced apps should consider creating their own query client to handle pagination together with the app's screens.
Protected getProtected getMakes a smart query on the contract, returns the parsed JSON document.
Promise is rejected when contract does not exist. Promise is rejected for invalid query format. Promise is rejected for invalid response format.
Creates a transaction with the given messages, fee and memo. Then signs and broadcasts the transaction.
The address that will sign transactions using this instance. The signer must be able to sign with this address.
Optional memo: stringStatic connectStatic connectOptional options: SigningCosmWasmClientOptionsStatic offlineCreates a client in offline mode.
This should only be used in niche cases where you know exactly what you're doing, e.g. when building an offline signing application.
When you try to use online functionality with such a signer, an exception will be raised.
Optional options: SigningCosmWasmClientOptions©2020 - 2023 Oraichain Foundation
Broadcasts a signed transaction to the network and monitors its inclusion in a block.
If broadcasting is rejected by the node for some reason (e.g. because of a CheckTx failure), an error is thrown.
If the transaction is not included in a block before the provided timeout, this errors with a
TimeoutError.If the transaction is included in a block, a
DeliverTxResponseis returned. The caller then usually needs to check for execution success or failure.