models.py 333 B

123456789101112131415161718192021
  1. from pydantic import BaseModel
  2. class TransactionNft(BaseModel):
  3. nftid: str
  4. address: str
  5. class BuyNft(BaseModel):
  6. nftid: int
  7. userid: str
  8. class NftDrops(BaseModel):
  9. userid: str
  10. email: str
  11. class callBack(BaseModel):
  12. type: str
  13. data: dict
  14. class JoysoMint(BaseModel):
  15. toaddress: str
  16. amount: int