mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-01-18 12:11:33 +00:00
Typos
This commit is contained in:
parent
47b83f3a6d
commit
5d039c1488
12
85.md
12
85.md
@ -8,9 +8,9 @@ Asset Prices
|
||||
|
||||
This NIP defines event kinds to host asset prices.
|
||||
|
||||
## Latest price
|
||||
## Latest Price
|
||||
|
||||
Kind `31892` stores the latest conversion price. The `d` tag contains the commonly used ticket conversion symbol.The `value` tag contains the amount, parseable to a Decimal.`n` tags separate the conversion ticker into the two ticket symbols.The event's `created_at` field MUST be used as the date/time of the conversion value.
|
||||
Kind `31892` stores the latest conversion price. The `d` tag contains the commonly used ticket conversion symbol for the pair. The `value` tag contains the amount, parseable to a Decimal. `n` tags separate the pair into the two ticket symbols. The event's `created_at` field MUST be used as the date/time of the conversion value.
|
||||
|
||||
```js
|
||||
{
|
||||
@ -27,9 +27,9 @@ Kind `31892` stores the latest conversion price. The `d` tag contains the common
|
||||
|
||||
Since this is a replaceable event, only the latest price will be available.
|
||||
|
||||
## Historical data
|
||||
## Historical Data
|
||||
|
||||
Historical prices can be found as `1892` events with the same structure as `31892`. Historical queries can use Nostr's `since` and `until` filter to narrow the search.
|
||||
Historical prices can be found as `1892` events with the same structure as `31892`. Historical queries can then use Nostr's `since` and `until` filters to narrow the search.
|
||||
|
||||
```js
|
||||
{
|
||||
@ -48,7 +48,7 @@ Even though these events use the `d` tag, they are not replaceable.
|
||||
|
||||
## Declaring Pricing Providers
|
||||
|
||||
Kind `10041` lists the user's authorized providers for pricing services.. It contains `s` tags with the `pubkey` of the provider and the relay where those events are stored.
|
||||
Kind 10041 lists the user's authorized providers for pricing services. It contains `s` tags with the provider's pubkey and the relay where those events are stored.
|
||||
|
||||
```js
|
||||
{
|
||||
@ -58,4 +58,4 @@ Kind `10041` lists the user's authorized providers for pricing services.. It con
|
||||
],
|
||||
//...
|
||||
}
|
||||
```
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user