API Reference
BelizeChain exposes Substrate JSON-RPC endpoints for blockchain interaction and REST APIs for each service layer. All blockchain RPCs are available over WebSocket (port 9944) and HTTP (port 9944).
Substrate JSON-RPC
System
system_chainGet the chain namesystem_nameGet the node namesystem_versionGet the node versionsystem_healthGet node health statussystem_peersGet connected peers listChain
chain_getHeaderGet the latest block headerchain_getBlockGet a block by hashchain_getBlockHashGet block hash by numberchain_getFinalizedHeadGet the finalized block hashState
state_getStorageQuery runtime storage by keystate_getMetadataGet runtime metadatastate_getRuntimeVersionGet runtime version infostate_callCall a runtime API functionAuthor
author_submitExtrinsicSubmit a signed extrinsicauthor_pendingExtrinsicsList pending extrinsicsauthor_insertKeyInsert a session keyContracts
contracts_callDry-run a contract callcontracts_instantiateDry-run contract instantiationcontracts_getStorageGet contract storage valueService REST APIs
Nawal
:8000/api/v1FastAPIAPI KeyKinich Quantum
:8888/api/v1FastAPIJWT / API KeyPakit Storage
:8080/api/v1FastAPIAPI KeyPakit P2P
:8081/FastAPINoneCustom Pallets
BelizeChain's 19 custom runtime pallets expose their storage and extrinsics through the standard Substrate RPC interface. Query pallet storage with state_getStorage and submit transactions with author_submitExtrinsic. Full pallet documentation is available in the runtime metadata accessible via state_getMetadata.