Readonly
addressPrivate
broadcastPrivate
broadcastBroadcasts 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 TxResponse is returned. The caller then usually needs to check for execution success or failure.
Private
Readonly
chainPrivate
decodePrivate
decodePrivate
encodePrivate
encryptionPrivate
getPrivate
populateReadonly
queryPrivate
signGets account number and sequence from the API, creates a sign doc, creates a single signature and assembles the signed transaction.
The sign mode (SIGN_MODE_DIRECT or SIGN_MODE_LEGACY_AMINO_JSON) is determined by this client's signer.
You can pass signer data (account number, sequence and chain ID) explicitly instead of querying them from the chain. This is needed when signing for a multisig account, but it also allows for offline signing (See the SigningStargateClient.offline constructor).
Private
signPrivate
signPrivate
signPrivate
signPrivate
simulateReadonly
txPrivate
txsPrivate
Readonly
urlPrivate
waitPrivate
Readonly
walletGenerated using TypeDoc
Creates a new SecretNetworkClient client. For a readonly client pass just the
url
param.