跳转至

lambdacli tx broadcast

Description

This command is used for broadcasting a signed transaction to the network after generating a signed transaction offline with sign.

Usage:

lambdacli tx broadcast <tx-file> <flags> 

Flags

Name,shorthand Type Required Default Description
-h, --help False help for broadcast
--chain-id String False Chain ID of tendermint node
--height Int False Block height to query, omit to get most recent provable block
--ledger String False Use a connected Ledger device
--node String False tcp://localhost:26657 <host>:<port>to tendermint rpc interface for this chain
--trust-node String False True Don't verify proofs for responses

Examples

Broadcast your transaction

lambdacli tx sign tx.json --from=master --chain-id lambda-test > sign.json
lambdacli tx broadcast sign.json --chain-id=<chain-id>