UNPKG
@ln-markets/sdk
Version:
latest (2.0.2)
next (1.0.0-beta.2)
2.0.2
2.0.1
2.0.0
1.2.5
1.2.4
1.2.2
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
1.0.0-beta.2
0.0.10
0.0.8
TypeScript SDK for LNMarkets API
github.com/ln-markets/sdk-typescript
ln-markets/sdk-typescript
@ln-markets/sdk
/
src
/
v3
/
routes
/
account
/
read-notifications.ts
12 lines
(9 loc)
•
258 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
type
{
KyInstance
}
from
'ky'
type
ReadNotifications
=
() =>
Promise
<
void
>
export
const
createReadNotifications = (
instance
:
KyInstance
):
ReadNotifications
=>
{
return
async
() => {
await
instance.
put
(
'account/notifications'
).
json
() } }