/*
|
|
Package core defines the Tendermint RPC endpoints.
|
|
|
|
Tendermint ships with its own JSONRPC library -
|
|
https://github.com/tendermint/tendermint/tree/master/rpc/jsonrpc.
|
|
|
|
## Get the list
|
|
|
|
An HTTP Get request to the root RPC endpoint shows a list of available endpoints.
|
|
|
|
```bash
|
|
curl 'localhost:26657'
|
|
```
|
|
|
|
> Response:
|
|
|
|
```plain
|
|
Available endpoints:
|
|
/abci_info
|
|
/dump_consensus_state
|
|
/genesis
|
|
/net_info
|
|
/num_unconfirmed_txs
|
|
/status
|
|
/health
|
|
/unconfirmed_txs
|
|
/unsafe_flush_mempool
|
|
/unsafe_stop_cpu_profiler
|
|
/validators
|
|
|
|
Endpoints that require arguments:
|
|
/abci_query?path=_&data=_&prove=_
|
|
/block?height=_
|
|
/blockchain?minHeight=_&maxHeight=_
|
|
/broadcast_tx_async?tx=_
|
|
/broadcast_tx_commit?tx=_
|
|
/broadcast_tx_sync?tx=_
|
|
/commit?height=_
|
|
/dial_seeds?seeds=_
|
|
/dial_persistent_peers?persistent_peers=_
|
|
/subscribe?event=_
|
|
/tx?hash=_&prove=_
|
|
/unsafe_start_cpu_profiler?filename=_
|
|
/unsafe_write_heap_profile?filename=_
|
|
/unsubscribe?event=_
|
|
```
|
|
*/
|
|
package core
|