Readonly
addressPrivate
Readonly
chainPrivate
encryptionReadonly
queryReadonly
txPrivate
Readonly
urlPrivate
Readonly
walletPrivate
broadcastPrivate
Broadcast a signed transactions
Private
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.
Optional
ibcTxOptions: SecretJS.IbcTxOptionsPrivate
decodeOptional
ibcTxOptions: SecretJS.IbcTxOptionsPrivate
decodeOptional
ibcTxOptions: SecretJS.IbcTxOptionsPrivate
encodePrivate
getOptional
ibcTxOptions: SecretJS.IbcTxOptionsPrivate
populatePrivate
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).
Optional
explicitSignerData: SecretJS.SignerDataPrivate
signPrivate
signPrivate
signPrivate
signPrivate
simulatePrivate
txsOptional
order_by: OrderByPrivate
waitGenerated using TypeDoc
Creates a new SecretNetworkClient client. For a readonly client pass just the
url
param.