matt on Nostr: No, it’s two-step - first you have to request a well-known prefix, then it responds ...
No, it’s two-step - first you have to request a well-known prefix, then it responds with some json pointing to another URL, which is then requested with some data from the first request which has to get fed into the invoice…
Published at
2023-01-24 01:36:13Event JSON
{
"id": "66839b9e6f6c21bcd36b0c9aaff0b92b2f719b24290c7e78698b46c8d6520279",
"pubkey": "3d2e51508699f98f0f2bdbe7a45b673c687fe6420f466dc296d90b908d51d594",
"created_at": 1674524173,
"kind": 1,
"tags": [
[
"e",
"9ef0a5b2d784672f5ac25dab7310b031277969459042c550f08c3bec22aed225"
],
[
"e",
"6e1f7ef48bfce5dcf05c56f7f7285f3863852dd3fad5ac84f8c88575d3b78fa0"
],
[
"p",
"18d93754a226da7e32a2d8bca499a4300c9cbbc54a8d1393360d815270d35c3b"
],
[
"p",
"18d93754a226da7e32a2d8bca499a4300c9cbbc54a8d1393360d815270d35c3b"
]
],
"content": "No, it’s two-step - first you have to request a well-known prefix, then it responds with some json pointing to another URL, which is then requested with some data from the first request which has to get fed into the invoice…",
"sig": "728ce1ae0c3b4961c8c775bd987628e19f5c77e458a5825744040e88d927de4367227a51e5c54b06cf0b7ef2915ec0e0d3f4ee15e4eee03453dcd1401f780375"
}