Forge v0.6.3 Forge.Rpc View Source

RPC lib to send tx. Using localhost:26657 for simplicity.

Link to this section Summary

Functions

Send out the signed transaction with tendermint http RPC interface: localhost:26657/broadcast_tx_commit?tx=

Link to this section Functions

Link to this function get_block(height) View Source
get_block(non_neg_integer()) :: %{
  app_hash: String.t(),
  height: non_neg_integer(),
  num_txs: non_neg_integer(),
  proposer: String.t(),
  time: DateTime.t(),
  txs: [Forge.TransactionMessage.t()]
}

Send out the signed transaction with tendermint http RPC interface: localhost:26657/broadcast_tx_commit?tx=