Get Bitcoin status

GET {{baseUrl}}/protocols/btc

Returns Bitcoin blockchain status of a full-node

HEADERS

KeyDatatypeRequiredDescription
tangany-versionnumber(Required) Default header that directs the request towards desired Tangany Custody Api version (e.g 2 directs to Tangany Custody APi v2).

Supports only major versions. | | tangany-network | string | | (Optional header) Defines the network to operate in - in the Bitcoin context.

Accepts supported network enums. Defaults to mainnet when omitted from the call.

Supported networks: mainnet, testnet3.

Example: testnet3 | | Accept | string | | |

RESPONSES

status: OK

{"status":"live","info":{"version":200100,"protocolversion":70002,"blocks":637003,"timeoffset":16,"connections":8,"difficulty":15784744305477.408,"testnet":false,"relayfee":1.0e-05}}