v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Bitcoin - Tatum API

Connect to a Bitcoin node through an RPC driver

/v3/bitcoin/node

This endpoint is deprecated. Do not use it.
Instead, use this API.

2 credits per API call

Use this endpoint URL as an http-based JSON RPC driver to connect directly to the node provided by Tatum. To learn more about JSON RPC, visit the Bitcoin developers' guide.

post/v3/bitcoin/node

Request body

jsonrpcstring

Version of the JSON RPC.

idstring

ID of the request, could be any arbitrary identifier.

methodstring

Method to invoke on the node.

paramsobject[]

Params to the method call, if required.

Example request

{
  "jsonrpc": "1.0",
  "id": "test",
  "method": "getblockcount",
  "params": []
}

Response

OK

object required

Any valid RPC response.

Example response

{
  "jsonrpc": "1.0",
  "id": "test",
  "result": 654321
}