transaction to broadcast
chain ID
time in milliseconds to wait for transaction to be included in a block. defaults to 30000
Broadcast the transaction using the "async" mode, returns immediately (transaction might fail).
transaction to broadcast
chain ID
Broadcast the transaction using the "block" mode, waiting for its inclusion in the blockchain.
transaction to broadcast
chain ID
NOTE: This is not a synchronous function and is unconventionally named. This function
can be await as it returns a Promise
.
Broadcast the transaction using the "sync" mode, returning after CheckTx() is performed.
transaction to broadcast
chain ID
Builds a [[StdSignMsg]] that is ready to be signed by a Key. The appropriate account number and sequence will be fetched live from the blockchain and added to the resultant [[StdSignMsg]]. If no fee is provided, fee will be automatically estimated using the parameters, simulated using a "dummy fee" with sourceAddress's nonzero denominations in its balance.
TX generation options
Decode a transaction from base64-encoded protobuf
Encode a transaction to base64-encoded protobuf
transaction to encode
Estimates the transaction's fee by simulating it within the node
options for fee estimation
Get the transaction's hash
transaction to hash
Search for transactions based on event attributes.
chain ID
Looks up a transaction on the blockchain, addressed by its hash
transaction's hash
chainID
Looks up transactions on the blockchain for the block height. If height is undefined, gets the transactions for the latest block.
chain ID
block height
Broadcast the transaction using "sync" mode, then wait for its inclusion in a block.
This method polls txInfo using the txHash to confirm the transaction's execution.