diff options
| author | Suhail Saqan <suhail.saqan@gmail.com> | 2023-06-08 11:48:03 -0500 |
|---|---|---|
| committer | Suhail Saqan <suhail.saqan@gmail.com> | 2023-06-08 11:48:03 -0500 |
| commit | 89b308d5402d7b4c4e8daabdaa9f28a45cc2a829 (patch) | |
| tree | 1da83dc5d5c1fbb158db57c16c9f27c5e9f5adf4 /11.md | |
| parent | 14a887d43b654f41de5d271e27ef69048f183fb4 (diff) | |
add image to nip11
Diffstat (limited to '11.md')
| -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 | ### Image ### | ||
| 259 | |||
| 260 | A URL pointing to an image to be used to represent the relay. | ||
| 261 | |||
| 262 | ```json | ||
| 263 | { | ||
| 264 | ... | ||
| 265 | "image": "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 | "image": "https://nostr.build/i/53866b44135a27d624e99c6165cabd76ac8f72797209700acb189fce75021f47.jpg" | ||