mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-12 23:19:08 -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.
|
||||
|
||||
>curl -H "Accept: application/nostr+json" https://eden.nostr.land
|
||||
|
||||
{"name":"eden.nostr.land",
|
||||
"description":"Eden Nostr Land - Toronto 1-01",
|
||||
"pubkey":"00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
|
||||
"contact":"me@ricardocabral.io",
|
||||
"supported_nips":[1,2,4,9,11,12,15,16,20,22,26,28,33,40],
|
||||
"supported_nip_extensions":["11a"],
|
||||
"software":"git+https://github.com/Cameri/nostream.git",
|
||||
"version":"1.22.6",
|
||||
"limitation":{"max_message_length":1048576,
|
||||
"max_subscriptions":10,
|
||||
"max_filters":2500,
|
||||
"max_limit":5000,
|
||||
"max_subid_length":256,
|
||||
"min_prefix":4,
|
||||
"max_event_tags":2500,
|
||||
"max_content_length":65536,
|
||||
"min_pow_difficulty":0,
|
||||
"auth_required":false,
|
||||
"payment_required":true},
|
||||
"payments_url":"https://eden.nostr.land/invoices",
|
||||
"fees":{"admission":[{"amount":5000000,"unit":"msats"}],
|
||||
"publication":[]}}
|
||||
```shell
|
||||
$ curl -H "Accept: application/nostr+json" https://eden.nostr.land
|
||||
{
|
||||
"name": "eden.nostr.land",
|
||||
"description": "Eden Nostr Land - Toronto 1-01",
|
||||
"pubkey": "00000000827ffaa94bfea288c3dfce4422c794fbb96625b6b31e9049f729d700",
|
||||
"contact": "me@ricardocabral.io",
|
||||
"supported_nips": [1,2,4,9,11,12,15,16,20,22,26,28,33,40],
|
||||
"supported_nip_extensions": ["11a"],
|
||||
"software": "git+https://github.com/Cameri/nostream.git",
|
||||
"version": "1.22.6",
|
||||
"limitation": {
|
||||
"max_message_length": 1048576,
|
||||
"max_subscriptions": 10,
|
||||
"max_filters": 2500,
|
||||
"max_limit": 5000,
|
||||
"max_subid_length": 256,
|
||||
"min_prefix": 4,
|
||||
"max_event_tags": 2500,
|
||||
"max_content_length": 65536,
|
||||
"min_pow_difficulty": 0,
|
||||
"auth_required": false,
|
||||
"payment_required": true
|
||||
},
|
||||
"payments_url": "https://eden.nostr.land/invoices",
|
||||
"fees": {
|
||||
"admission": [{ "amount": 5000000, "unit": "msats" }],
|
||||
"publication": []
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user