package
0.19.0-rc4
Repository: https://github.com/eeonevision/tendermint.git
Documentation: pkg.go.dev

# README

Tendermint RPC

Generate markdown for Slate

We are using Slate to power our RPC documentation. If you are changing a comment, make sure to copy the resulting changes to the slate repo and make a PR there as well. For generating markdown use:

go get github.com/melekes/godoc2md

godoc2md -template rpc/core/doc_template.txt github.com/tendermint/tendermint/rpc/core | grep -v -e "pipe.go" -e "routes.go" -e "dev.go" | sed 's$/src/target$https://github.com/tendermint/tendermint/tree/master/rpc/core$'

# Packages

No description provided by the author

# Functions

Get some info about the application.
Query the application for some information.
No description provided by the author
Get block at a given height.
Get block headers for minHeight <= height <= maxHeight.
BlockResults gets ABCIResults at a given height.
Returns right away, with no response ```shell curl 'localhost:46657/broadcast_tx_async?tx="123"' ``` ```go client := client.NewHTTP("tcp://0.0.0.0:46657", "/websocket") result, err := client.BroadcastTxAsync("123") ``` > The above command returns JSON structured like this: ```json { "error": "", "result": { "hash": "E39AAB7A537ABAA237831742DCE1117F187C3C52", "log": "", "data": "", "code": 0 }, "id": "", "jsonrpc": "2.0" } ``` ### Query Parameters | Parameter | Type | Default | Required | Description | |-----------+------+---------+----------+-----------------| | tx | Tx | nil | true | The transaction |.
CONTRACT: only returns error if mempool.BroadcastTx errs (ie.
Returns with the response from CheckTx.
Get block commit at a given height.
Dump consensus state.
Get genesis file.
Get node health.
Get network info.
Get number of unconfirmed transactions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Get Tendermint status including node info, pubkey, latest block hash, app hash, block height and time.
Subscribe for events via WebSocket.
Tx allows you to query the transaction results.
TxSearch allows you to query for multiple transactions results.
Get unconfirmed transactions including their number.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unsubscribe from events via WebSocket.
Unsubscribe from all events via WebSocket.
Get the validator set at the given block height.

# Constants

rpc routes for profiling, setting config.

# Variables

TODO: better system than "unsafe" prefix NOTE: Amino is registered in rpc/core/types/wire.go.

# Interfaces

No description provided by the author
No description provided by the author