Last updated 2 months ago
Get blockchain info.
Successful operation
"OK"
const response = await fetch('https://open-api-fractal.unisat.io/v1/indexer/blockchain/info', { method: 'GET', headers: {}, }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "chain": "text", "blocks": 0, "headers": 0, "bestBlockHash": "text", "prevBlockHash": "text", "medianTime": 0, "chainwork": "text" } }