RPC Reference
Interactive reference for the raw HTTP endpoints exposed by tachid. For the
TypeScript SDK wrapper around these calls, see API Reference.
POST
/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
idstring
ID is the caller-chosen request identifier echoed back in the response.
jsonrpcstring
JSONRPC is the JSON-RPC protocol version, fixed at "1.0" for bitcoind compatibility.
methodstring
Method is the bitcoind RPC method name to invoke (e.g. "getblockchaininfo").
paramsobject
Params is the raw JSON parameter array forwarded unchanged to bitcoind.
Responses
200OK
error—
Error carries the bitcoind error payload when the call failed; nil on success.
idstring
ID echoes back the caller-supplied request identifier.
resultobject
Result is the raw JSON result body from bitcoind; nil when an error occurred.
400invalid json-rpc request
string403method not permitted
string405method not allowed
string415content-type must be application/json
string503bitcoin client not configured
stringAPI Key
Code Sample
curl -X POST \ 'https://rpc-regtest.tachibtc.com/' \
-H 'Content-Type: application/json' \
-d '{
"id": "",
"jsonrpc": "",
"method": "",
"params": {}
}'Try It
Regtest