diff options
| author | fiatjaf_ <fiatjaf@gmail.com> | 2023-06-18 12:15:36 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-18 12:15:36 -0300 |
| commit | 9ffd3638d77f278c7946ffe8f53bf0fb3d2933b2 (patch) | |
| tree | 140dc642fe486408eadd5d2ece589bd6706f8f2f | |
| parent | 73e93d09ad596a7170b9dbea4498d0f74805bb70 (diff) | |
| parent | 83cbd3e17a12bbc2b63799fe8f53883f80f70809 (diff) | |
Merge pull request #592 from suhailsaqan/add-image-nip11
| -rw-r--r-- | 11.md | 15 |
1 files changed, 14 insertions, 1 deletions
| @@ -255,6 +255,18 @@ Relays that require payments may want to expose their fee schedules. | |||
| 255 | } | 255 | } |
| 256 | ``` | 256 | ``` |
| 257 | 257 | ||
| 258 | ### Icon ### | ||
| 259 | |||
| 260 | A URL pointing to an image to be used as an icon for the relay. Recommended to be squared in shape. | ||
| 261 | |||
| 262 | ```json | ||
| 263 | { | ||
| 264 | ... | ||
| 265 | "icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg", | ||
| 266 | ... | ||
| 267 | } | ||
| 268 | ``` | ||
| 269 | |||
| 258 | ### Examples ### | 270 | ### Examples ### |
| 259 | As of 2 May 2023 the following `curl` command provided these results. | 271 | As of 2 May 2023 the following `curl` command provided these results. |
| 260 | 272 | ||
| @@ -281,4 +293,5 @@ As of 2 May 2023 the following `curl` command provided these results. | |||
| 281 | "payment_required":true}, | 293 | "payment_required":true}, |
| 282 | "payments_url":"https://eden.nostr.land/invoices", | 294 | "payments_url":"https://eden.nostr.land/invoices", |
| 283 | "fees":{"admission":[{"amount":5000000,"unit":"msats"}], | 295 | "fees":{"admission":[{"amount":5000000,"unit":"msats"}], |
| 284 | "publication":[]}} | 296 | "publication":[]}}, |
| 297 | "icon": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg" | ||