mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-25 07:07:48 +01:00
20 lines
360 B
Python
20 lines
360 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class CreateLnurl(BaseModel):
|
|
description_hash: str
|
|
callback: str
|
|
amount: int
|
|
comment: Optional[str] = None
|
|
description: Optional[str] = None
|
|
unit: Optional[str] = None
|
|
|
|
|
|
class CreateLnurlAuth(BaseModel):
|
|
callback: str
|
|
|
|
|
|
class PayLnurlWData(BaseModel):
|
|
lnurl_w: str
|