Methods broadcast Tx broadcast Tx( txRaw: TxRaw ) : Promise < string > Parameters Returns Promise < string > broadcast Tx Block broadcast Tx Block( txRaw: TxRaw ) : Promise < string > Parameters Returns Promise < string > check Chain Id Support check Chain Id Support( ) : Promise < boolean > experimental Suggest Chain experimental Suggest Chain( ) : Promise < void > get Accounts get Accounts( ) : Promise < readonly AccountData [] > Returns Promise < readonly AccountData [] > get Chain Endpoints get Chain Endpoints( ) : Promise < { rest: string ; rpc: string } > Returns Promise < { rest: string ; rpc: string } > get Keplr Wallet get Keplr Wallet( ) : Promise < Keplr > get Key get Key( ) : Promise < { address: Uint8Array ; algo: string ; bech32Address: string ; isNanoLedger: boolean ; name: string ; pubKey: Uint8Array } > Returns Promise < { address: Uint8Array ; algo: string ; bech32Address: string ; isNanoLedger: boolean ; name: string ; pubKey: Uint8Array } > get Offline Amino Signer get Offline Amino Signer( ) : Promise < OfflineAminoSigner > Returns Promise < OfflineAminoSigner > get Offline Signer get Offline Signer( ) : Promise < OfflineDirectSigner > Returns Promise < OfflineDirectSigner > sign And Broadcast Amino Using Cosmjs sign And Broadcast Amino Using Cosmjs( messages: EncodeObject [] , stdFee: StdFee ) : Promise < DeliverTxResponse > Parameters messages: EncodeObject [] stdFee: StdFee signEIP712 Cosmos Tx signEIP712 Cosmos Tx( __namedParameters: { eip712: any ; signDoc: StdSignDoc } ) : Promise < AminoSignResponse > Parameters __namedParameters: { eip712: any ; signDoc: StdSignDoc } eip712: any sign Doc: StdSignDoc Returns Promise < AminoSignResponse > wait Tx Broadcasted wait Tx Broadcasted( txHash: string ) : Promise < TxResponse > Static experimental Suggest Chain With Chain Dataexperimental Suggest Chain With Chain Data( chainData: any ) : Promise < void > Parameters Returns Promise < void > Legend Namespace Variable Function Function with type parameter Type alias Type alias with type parameter Interface Interface with type parameter Private property Private method Settings Theme OS Light Dark
This method is used to broadcast a transaction to the network. Since it uses the
Sync
mode, it will not wait for the transaction to be included in a block, so we have to make sure the transaction is included in a block after its broadcasted