You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
843 B

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