Public Cryptix endpoints for integration and monitoring.
| Endpoint | URL | Purpose |
|---|---|---|
| Address Balance | https://rest.seed1.cryptix-network.org/addresses/{address}/balance |
Returns the balance for a specific address. |
| Market Data | https://market.cryptix-network.org/api/data |
Returns current CPAY market reference data. |
| Network Hashrate | https://rest.seed1.cryptix-network.org/info/hashrate?stringOnly=false |
Returns current network hashrate. |
| Strong Nodes | https://rest.seed1.cryptix-network.org/info/strong-nodes |
Returns announced strong-node overlay entries, runtime state and claimed block contribution. |
| Circulating Supply | https://rest.seed1.cryptix-network.org/info/coinsupply/circulating?in_billion=false |
Returns circulating CPAY supply. |
| Block Reward | https://rest.seed1.cryptix-network.org/info/blockreward?stringOnly=false |
Returns current reward per block. |
| Halving | https://rest.seed1.cryptix-network.org/info/halving |
Returns next reward-reduction event data. |
| Maximum Supply | https://rest.seed1.cryptix-network.org/info/coinsupply/max |
Returns maximum CPAY supply reference. |
| Transaction Details | https://rest.seed1.cryptix-network.org/tx/{txid} |
Fetch full transaction by ID. |
| Block by Height | https://rest.seed1.cryptix-network.org/block/{height} |
Block header and transactions. |
| Recent Blocks | https://rest.seed1.cryptix-network.org/blocks/recent?limit=10 |
List latest blocks. |
| Mempool Summary | https://rest.seed1.cryptix-network.org/mempool/info |
Pending TX stats. |
| Connected Peers | https://rest.seed1.cryptix-network.org/peers |
Network peer list. |
| Node Sync Status | https://rest.seed1.cryptix-network.org/node/status |
Node health and sync. |
| Address TX History | https://rest.seed1.cryptix-network.org/addresses/{address}/txs |
Address transaction history. |
| Submit Transaction | POST https://rest.seed1.cryptix-network.org/tx |
Submit transaction to mempool (JSON RPC or raw). |
Real-time subscriptions for blocks, TX, notifications. Two implementations:
| Method | Params | Response | Purpose |
|---|---|---|---|
| getBlockDagInfo | {"method": "getBlockDagInfo"} | getBlockDagInfoResponse (tips, difficulty) | DAG state info. |
| getCoinSupply | {"method": "getCoinSupply"} | getCoinSupplyResponse (circulating/max) | Coin supply data. |
| getBalanceByAddress | {"method": "getBalanceByAddress", "params": {"address": "cytx1..."}} | balance value | Address balance. |
| submitTransaction | {"method": "submitTransaction", "params": {tx data}} | transactionId | Submit TX. |
| notifyBlockAdded | {"method": "notifyBlockAdded"} | BlockAddedNotification stream | New blocks. |
| getUtxosByAddresses | {"method": "getUtxosByAddresses", "params": {"addresses": [...]}} | UTXOs list | UTXOs (utxoindex). |
URL: wss://socket.seed1.cryptix-network.org
| Method | Params | Response | Purpose |
|---|---|---|---|
| getBlockDagInfo | Borsh getBlockDagInfoRequest | Borsh getBlockDagInfoResponse | DAG info (tips, difficulty, pruning point). |
| getCoinSupply | Borsh getCoinSupplyRequest | Borsh getCoinSupplyResponse | Circulating/max supply. |
| getBalanceByAddress | Borsh GetBalanceByAddressRequestMessage | Borsh GetBalanceByAddressResponseMessage | Address balance. |
| submitTransaction | Borsh SubmitTransactionRequestMessage | Borsh SubmitTransactionResponseMessage | Submit TX to mempool. |
| notifyBlockAdded | NotifyBlockAddedRequestMessage | BlockAddedNotificationMessage stream | New block notifications. |
| getBlock | Borsh GetBlockRequestMessage {hash} | Borsh GetBlockResponseMessage | Block details. |
| getMempoolEntries | Borsh GetMempoolEntriesRequestMessage | Borsh GetMempoolEntriesResponseMessage | Mempool TXs. |
| getUtxosByAddresses | Borsh GetUtxosByAddressesRequestMessage | Borsh GetUtxosByAddressesResponseMessage | UTXOs for addresses (utxoindex). |
URL: wss://websocket.cryptix-network.org | Requires Borsh lib.
const ws = new WebSocket('wss://socket.seed1.cryptix-network.org');
ws.onopen = () => ws.send(JSON.stringify({method: 'subscribe', params: {type: 'blocks'}}));
ws.onmessage = (e) => console.log(JSON.parse(e.data));