API Sample
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
/ledgerspecification.