API Reference · kovanica-testnet
API reference
The HTTP contract the node speaks. Read endpoints are proxied live against the public testnet node; write endpoints require browser-side Ed25519 signing and belong in the wallet.
Upstream status
probing…
The mainnet node is not open yet. The reference serves testnet until genesis.
Endpoints
| Method | Path | Notes |
|---|---|---|
| GET | /api/head | genesis, tip, height |
| GET | /api/bootstrap | plus listen, peers, upstream probe |
| GET | /api/p2p | TCP listen + bootstrap peers |
| GET | /api/block/{id} | typed block detail (S-02) |
| GET | /api/tx/{id} | typed transaction detail |
| GET | /api/address/{addr} | address summary (balance, txs) |
| GET | /api/blocks | octet-stream dump (clone catch-up) |
| GET | /api/state | full DAG + flags |
| GET | /api/utxos?address= | spendable outputs |
| GET | /api/history?address= | deltas per address |
| GET | /api/tokens?address= | KVP-102 tokens on chain, with the caller's balance |
| GET | /api/pools | KVP-102 AMM pools: reserves, fee, LP supply, spot price |
| GET | /api/fee_estimate | RFC-006 fee floor, atoms/byte |
| GET | /api/origins | ISO3 pulses |
| GET | /api/spec | full protocol spec, text/plain |
| GET | /api/collection/{id} | KVP-106 collection metadata |
| GET | /api/nft/{id} | KVP-106 NFT metadata |
| GET | /api/rwa/{id} | RWA asset metadata |
| GET | /api/light_proof | SPV/light-node proof |
| GET | /api/light_sync | light-node sync slice |
| POST | /api/contract_call | read-only contract dry-run simulation (kovanica_call + estimateGas) |
| POST | /api/contract_storage | read-only contract storage slot & Bincode state reader (kovanica_getStorageAt) |
| POST | /api/contract_receipt | read-only transaction receipt & emitted Bincode event log inspector (kovanica_getTransactionReceipt) |
| POST | /api/prepare | sighash + fee + change |
| POST | /api/submit | queue signed tx |
| POST | /api/token_prepare | KVP-102 token_transfer call: sighash for an offline signature |
| POST | /api/token_submit | submit a signed KVP-102 token_transfer call |
| POST | /api/submit_tx | submit with {"tx_hex": …} (SDK parity) |
| POST | /api/produce | pack mempool |
| POST | /api/mine | local playground block mint simulation |
| POST | /api/faucet | testnet open faucet |
| POST | /api/origin | pulse a country |
| POST | /api/multisig/create | M-of-N P2SH address from pubkeys |
| POST | /api/multisig/build | build a multisig spend proposal |
| POST | /api/multisig/sign | sign a multisig sighash |
| POST | /api/multisig/combine | combine partial signatures |
| POST | /api/multisig/submit | submit a combined multisig spend |
Playground — read only
GET /api/api/headRun a read endpoint to see the live response.
Write endpoints (prepare, submit, faucet, …) are reference-only: signing happens in the browser wallet, so the seed never reaches the node.
Write endpoints — reference only
/api/blocksoctet-stream dump (clone catch-up)
/api/preparesighash + fee + change
/api/submitqueue signed tx
/api/token_prepareKVP-102 token_transfer call: sighash for an offline signature
/api/token_submitsubmit a signed KVP-102 token_transfer call
/api/submit_txsubmit with {"tx_hex": …} (SDK parity)
/api/producepack mempool
/api/minelocal playground block mint simulation
/api/faucettestnet open faucet
/api/originpulse a country
/api/multisig/createM-of-N P2SH address from pubkeys
/api/multisig/buildbuild a multisig spend proposal
/api/multisig/signsign a multisig sighash
/api/multisig/combinecombine partial signatures
/api/multisig/submitsubmit a combined multisig spend
The public RPC serves reads anonymously. Write methods currently answer HTTP 401 — writes are not available via the public RPC until PRO-53 ships.