mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-04 21:45:51 -05:00
Apply changes to fit linter
This commit is contained in:
parent
887f7a9e64
commit
e6c9bf4ea2
58
11.md
58
11.md
|
@ -249,30 +249,38 @@ Relays that require payments may want to expose their fee schedules.
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### 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.
|
||||||
|
|
||||||
>curl -H "Accept: application/nostr+json" https://eden.nostr.land
|
```shell
|
||||||
|
$ curl -H "Accept: application/nostr+json" https://eden.nostr.land
|
||||||
{"name":"eden.nostr.land",
|
{
|
||||||
"description":"Eden Nostr Land - Toronto 1-01",
|
"name": "eden.nostr.land",
|
||||||
"pubkey":"00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
|
"description": "Eden Nostr Land - Toronto 1-01",
|
||||||
"contact":"me@ricardocabral.io",
|
"pubkey": "00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
|
||||||
"supported_nips":[1,2,4,9,11,12,15,16,20,22,26,28,33,40],
|
"contact": "me@ricardocabral.io",
|
||||||
"supported_nip_extensions":["11a"],
|
"supported_nips": [1,2,4,9,11,12,15,16,20,22,26,28,33,40],
|
||||||
"software":"git+https://github.com/Cameri/nostream.git",
|
"supported_nip_extensions": ["11a"],
|
||||||
"version":"1.22.6",
|
"software": "git+https://github.com/Cameri/nostream.git",
|
||||||
"limitation":{"max_message_length":1048576,
|
"version": "1.22.6",
|
||||||
"max_subscriptions":10,
|
"limitation": {
|
||||||
"max_filters":2500,
|
"max_message_length": 1048576,
|
||||||
"max_limit":5000,
|
"max_subscriptions": 10,
|
||||||
"max_subid_length":256,
|
"max_filters": 2500,
|
||||||
"min_prefix":4,
|
"max_limit": 5000,
|
||||||
"max_event_tags":2500,
|
"max_subid_length": 256,
|
||||||
"max_content_length":65536,
|
"min_prefix": 4,
|
||||||
"min_pow_difficulty":0,
|
"max_event_tags": 2500,
|
||||||
"auth_required":false,
|
"max_content_length": 65536,
|
||||||
"payment_required":true},
|
"min_pow_difficulty": 0,
|
||||||
"payments_url":"https://eden.nostr.land/invoices",
|
"auth_required": false,
|
||||||
"fees":{"admission":[{"amount":5000000,"unit":"msats"}],
|
"payment_required": true
|
||||||
"publication":[]}}
|
},
|
||||||
|
"payments_url": "https://eden.nostr.land/invoices",
|
||||||
|
"fees": {
|
||||||
|
"admission": [{ "amount": 5000000, "unit": "msats" }],
|
||||||
|
"publication": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user