A very tiny example program shows how to index Spore and Cluster cells from chain using indexer.
Just Run cargo run
, it will run and listen at default port 8000
/api/v1/spore/all
: Get all Spore cells on chain./api/v1/spore/id/<id>
: Get Spore with specific ID./api/v1/cluster/all
: Get all Cluster cells on chain./api/v1/cluster/id/<id>
: Get Cluster with specific ID.