gitlab.com/gpdionisio/tendermint@v0.34.19-dev2/rpc/core/doc.go (about)

     1  /*
     2  Package core defines the Tendermint RPC endpoints.
     3  
     4  Tendermint ships with its own JSONRPC library -
     5  https://github.com/tendermint/tendermint/tree/master/rpc/jsonrpc.
     6  
     7  ## Get the list
     8  
     9  An HTTP Get request to the root RPC endpoint shows a list of available endpoints.
    10  
    11  ```bash
    12  curl 'localhost:26657'
    13  ```
    14  
    15  > Response:
    16  
    17  ```plain
    18  Available endpoints:
    19  /abci_info
    20  /dump_consensus_state
    21  /genesis
    22  /net_info
    23  /num_unconfirmed_txs
    24  /status
    25  /health
    26  /unconfirmed_txs
    27  /unsafe_flush_mempool
    28  /validators
    29  
    30  Endpoints that require arguments:
    31  /abci_query?path=_&data=_&prove=_
    32  /block?height=_
    33  /blockchain?minHeight=_&maxHeight=_
    34  /broadcast_tx_async?tx=_
    35  /broadcast_tx_commit?tx=_
    36  /broadcast_tx_sync?tx=_
    37  /commit?height=_
    38  /dial_seeds?seeds=_
    39  /dial_persistent_peers?persistent_peers=_
    40  /subscribe?event=_
    41  /tx?hash=_&prove=_
    42  /unsubscribe?event=_
    43  ```
    44  */
    45  package core