Merge pull request #592 from suhailsaqan/add-image-nip11

This commit is contained in:
fiatjaf_ 2023-06-18 12:15:36 -03:00 committed by GitHub
commit 9ffd3638d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
11.md
View File

@ -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 ###
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},
"payments_url":"https://eden.nostr.land/invoices",
"fees":{"admission":[{"amount":5000000,"unit":"msats"}],
"publication":[]}}
"publication":[]}},
"icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg"