calle 👁️⚡👁️ on Nostr: Not in the same tx (it will simply fail). You can use the NUT-17 checkstate endpoint ...
Not in the same tx (it will simply fail).
You can use the NUT-17 checkstate endpoint to query the spent state of an array of proofs though and filter out those that are spent (links them all, so that's bad for privacy, except if you spend them all in a tx anyway, then it doesn't matter much).
Published at
2025-02-21 00:34:04Event JSON
{
"id": "72675ac5c5d3c7f10743cc92b19304a4309e0919ada37fdf9f6c35cc004ca144",
"pubkey": "50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63",
"created_at": 1740098044,
"kind": 1,
"tags": [
[
"e",
"9ac325b7973aea30baafceba007466f5449f311bfe4ea1f2e44f720918df6f2d",
"",
"root"
],
[
"p",
"50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63"
],
[
"p",
"ddf03aca85ade039e6742d5bef3df352df199d0d31e22b9858e7eda85cb3bbbe"
],
[
"p",
"fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52"
]
],
"content": "Not in the same tx (it will simply fail).\n\nYou can use the NUT-17 checkstate endpoint to query the spent state of an array of proofs though and filter out those that are spent (links them all, so that's bad for privacy, except if you spend them all in a tx anyway, then it doesn't matter much).",
"sig": "68fd95b99cd3a8e31e506d30855ebd46bad67f92202d626102e07a6e3d40a19d8f14e3b2a2ed512c52b35b9ae631925afd2c09bb0c60759bf49c373713285feb"
}