Protected
constructorBroadcasts a signed transaction to the network without monitoring it.
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 broadcasted, a string
containing the hash of the transaction is returned. The caller then
usually needs to check if the transaction was included in a block and was successful.
Returns the hash of the transaction
Protected
forceProtected
forceProtected
getProtected
getStatic
connectCreates an instance by connecting to the given Tendermint RPC endpoint.
This uses auto-detection to decide between a Tendermint 0.37 and 0.34 client.
To set the Tendermint client explicitly, use create
.
Static
createCreates an instance from a manually created Tendermint client.
Use this to use Tendermint37Client
instead of Tendermint34Client
.
Generated using TypeDoc
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
DeliverTxResponse
is returned. The caller then usually needs to check for execution success or failure.