Merge pull request from suhailsaqan/add-image-nip11

This commit is contained in:
fiatjaf_
2023-06-18 12:15:36 -03:00
committed by GitHub

15
11.md

@@ -255,6 +255,18 @@ Relays that require payments may want to expose their fee schedules.
} }
``` ```
### Icon ###
A URL pointing to an image to be used as an icon for the relay. Recommended to be squared in shape.
```json
{
...
"icon": "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":[]}},
"icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg"