utxo on Nostr: You do a get request to get the endpoint, then get that endpoint and append an ...
You do a get request to get the endpoint, then get that endpoint and append an amount.
I dunno, I found it extremely simple... 2-3 lines of code for each step.
Wrote a very simple method to get it down to one line. Feels nice to me. But if something is better I'm down with that too.
Published at
2023-01-24 01:41:30Event JSON
{
"id": "a0b3421f3b0f93050f57662c2e7a2ec8e77ccaee92d7b76e415c48cabe68f0f3",
"pubkey": "18d93754a226da7e32a2d8bca499a4300c9cbbc54a8d1393360d815270d35c3b",
"created_at": 1674524490,
"kind": 1,
"tags": [
[
"e",
"9ef0a5b2d784672f5ac25dab7310b031277969459042c550f08c3bec22aed225"
],
[
"e",
"6e1f7ef48bfce5dcf05c56f7f7285f3863852dd3fad5ac84f8c88575d3b78fa0"
],
[
"e",
"66839b9e6f6c21bcd36b0c9aaff0b92b2f719b24290c7e78698b46c8d6520279"
],
[
"p",
"18d93754a226da7e32a2d8bca499a4300c9cbbc54a8d1393360d815270d35c3b"
],
[
"p",
"18d93754a226da7e32a2d8bca499a4300c9cbbc54a8d1393360d815270d35c3b"
],
[
"p",
"3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594"
]
],
"content": "You do a get request to get the endpoint, then get that endpoint and append an amount.\n\nI dunno, I found it extremely simple... 2-3 lines of code for each step. \n\nWrote a very simple method to get it down to one line. Feels nice to me. But if something is better I'm down with that too.\n",
"sig": "f5fbd6e3669300975ec19047074baf8137e7c556d2740a16628b820f333b06e4ce45b589050a5ef065d8935b1d0745aa2aeb50341b0daff080293f8716745dc5"
}