RPC Reference
Interactive reference for the raw HTTP endpoints exposed by tachid. For the
TypeScript SDK wrapper around these calls, see API Reference.
Every response carries an X-Tachi-Height header with the last block the
answering node committed, so you can check how fresh an answer is (it is
exposed to browsers via CORS). List endpoints page with page_size, except
/tachi_listPaymentRequests, which takes limit and offset.
/tachi_nodeInfo lists the runtimes and gated consensus rules (features) with
their activation heights, so check it before using vault close, lock consent or
payment requests on a network.
funding_txid on /tachi_vault and /tachi_listVaults is in internal byte
order (what the vault id hashes). /tachi_depositStatus and block explorers take
the display-order txid, which the same rows carry as funding_txid_display.
Every epoch a block or tx response reports (/tachi_tx, /tachi_txStatus,
the block and transaction lists) comes from the epoch record that covers the
height, so they all agree and can be passed as a RIP origin_epoch.
/tachi_listEpochs lists and counts closed epochs only; the still-open one is
current_epoch in /tachi_stats.
/Bitcoin JSON-RPC 1.0 proxy
Forwards a JSON-RPC 1.0 request to bitcoind. Methods in readOnlyBitcoinMethods are always proxied; other methods require an X-Api-Key header matching the universal key (see SetBitcoinAPIKey).
Request Body
Responses
API Key
Code Sample
curl -X POST \ 'https://rpc-regtest.tachibtc.com/' \
-H 'Content-Type: application/json' \
-d '{
"id": "",
"jsonrpc": "",
"method": "",
"params": {}
}'