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