probe-gate
Demonstrates fetching complete block data including header fields and transactions for a specific block.
curl 'https://blockchain.info/rawblock/000000000000000000002190102617bec76ef38c6315bc8007f9c0f9c0aa7cd4'
import requests
resp = requests.get("https://blockchain.info/rawblock/000000000000000000002190102617bec76ef38c6315bc8007f9c0f9c0aa7cd4")
data = resp.json()
import zingu_apis
api = zingu_apis.api("blockchain")
result = api.fetch("rawblock/{block_hash}")
for item in result:
print(item)
const resp = await fetch("https://blockchain.info/rawblock/000000000000000000002190102617bec76ef38c6315bc8007f9c0f9c0aa7cd4");
const data = await resp.json();