add image to nip11

This commit is contained in:
Suhail Saqan 2023-06-08 11:48:03 -05:00
parent 14a887d43b
commit 89b308d540
No known key found for this signature in database
GPG Key ID: C3E8D33BFD16C6E6

15
11.md
View File

@ -255,6 +255,18 @@ Relays that require payments may want to expose their fee schedules.
} }
``` ```
### Image ###
A URL pointing to an image to be used to represent the relay.
```json
{
...
"image": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg",
...
}
```
### Examples ### ### Examples ###
As of 2 May 2023 the following `curl` command provided these results. As of 2 May 2023 the following `curl` command provided these results.
@ -281,4 +293,5 @@ As of 2 May 2023 the following `curl` command provided these results.
"payment_required":true}, "payment_required":true},
"payments_url":"https://eden.nostr.land/invoices", "payments_url":"https://eden.nostr.land/invoices",
"fees":{"admission":[{"amount":5000000,"unit":"msats"}], "fees":{"admission":[{"amount":5000000,"unit":"msats"}],
"publication":[]}} "publication":[]}},
"image": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg"