HomeKaleido ServicesBlock ExplorerBlock Explorer API Reference

Block Explorer API Reference

The explorer makes use of the /ledger API. The /ledger endpoint exposes several sub-routes (e.g. /transactions/blocks and /contracts for refined queries against on-chain data.  Note that these APIs do not return state information associated with deployed smart contracts.
Instead, you should use an Ethereum-compatible client library (e.g. Web3.js) or the Enterprise App Gateway to properly interface with smart contract addresses.

 

  • Refer to the API Reference documentation for the full /ledger specification.
  • Refer to the Understanding the Kaleido API topic for sample calls and additional clarification.  For example, to retrieve the most recent block on the chain:
curl -X GET -H "$HDR_AUTH" -H "$HDR_CT" "$APIURL/ledger/{consortia_id}/{environment_id}/blocks/latest" | jq