Some checks are pending
docker-build-cometbft / vars (push) Waiting to run
docker-build-cometbft / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-cometbft / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-cometbft / merge-images (push) Blocked by required conditions
docker-build-e2e-node / vars (push) Waiting to run
docker-build-e2e-node / build-images (amd64, ubuntu-24.04) (push) Blocked by required conditions
docker-build-e2e-node / build-images (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
docker-build-e2e-node / merge-images (push) Blocked by required conditions
45 lines
847 B
Go
45 lines
847 B
Go
/*
|
|
Package core defines the CometBFT RPC endpoints.
|
|
|
|
CometBFT ships with its own JSONRPC library -
|
|
https://git.cw.tr/mukan-network/mukan-consensus/tree/v0.38.x/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
|
|
/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=_
|
|
/unsubscribe?event=_
|
|
```
|
|
*/
|
|
package core
|