Why Nostr? What is Njump?
2022-12-09 00:35:55
in reply to

dave on Nostr: function fetchMempoolTransactions() { fetch("") .then(res => res.json()) .then(data ...

function fetchMempoolTransactions() {
fetch("https://blockstream.info/api/mempool";)
.then(res => res.json())
.then(data => {
let transactions = data.transactions;
transactions.forEach(transaction => {
console.log(transaction.txid);
})
})
.catch(error => console.error(error))
}

fetchMempoolTransactions();
Author Public Key
npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4