nate on Nostr: Write a JavaScript function that performs the following actions: - Calls the ...
Write a JavaScript function that performs the following actions:
- Calls the blockstream.info api to fetch every transaction ID currently in the mempool.
- For every txid fetch the full transaction information.
- Return only the transactions that are likely to be a coinjoin.
Published at
2022-12-09 00:38:41Event JSON
{
"id": "70b7351b197655c8d6380496dd38565d646ee857d0e372a9104cc75a6d15e287",
"pubkey": "2b36fb6ae1022d0d4eac2a9f13fc2638f3350acc9b07bdca1de43a7c63429644",
"created_at": 1670546321,
"kind": 1,
"tags": [
[
"e",
"f04c12f13467f1af68817979f65ea91a91b5cf2131644265f7c43155d5fc7ae9",
""
],
[
"e",
"1d58cf9a0097d431fa3ab055aacfc34592cabff16a15a6e6ee4eead28493fbbe"
],
[
"p",
"5c10ed0678805156d39ef1ef6d46110fe1e7e590ae04986ccf48ba1299cb53e2"
]
],
"content": "Write a JavaScript function that performs the following actions:\n- Calls the blockstream.info api to fetch every transaction ID currently in the mempool. \n- For every txid fetch the full transaction information. \n- Return only the transactions that are likely to be a coinjoin. ",
"sig": "2205e934141d524b9e46936fd3bdcf6a871096324d4bb61d2bac535291cca8c0831a9dc14b0e3a67fa74e79e8074584c2106a87702a570a31e0512e8ece12708"
}