v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Bitcoin Cash (BCH) - Tatum API

JSON RPC HTTP driver

/v3/bcash/node

2 credits per API call

This endpoint is deprecated. Use the HTTP-based JSON RPC driver instead.

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 Bitcoin Cash developers' guide.

post/v3/bcash/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.

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
}