PortalsGift

PortalsGift

Methods:

  • .toDict(): Converts the PortalsGift object back to a dictionary format.

Attributes:

  • .id: The ID of the NFT.

  • .tg_id: Telegram number of the gift (an external collection number).

  • .collection_id: The ID of the gift collection.

  • .name: Name of the gift.

  • .photo_url: URL of the photo from Fragment representing the gift (first frame of Lottie animation in PNG).

  • .price: Price of the gift.

  • .model: Model of the gift.

  • .model_rarity: Rarity percentage of the model.

  • .backdrop: Backdrop of the gift.

  • .backdrop_rarity: Rarity percentage of the backdrop.

  • .symbol: Symbol of the gift.

  • .symbol_rarity: Rarity percentage of the symbol.

  • .listed_at: Date and time when the gift has been listed for sale.

  • .status: Status of the gift (possible values: "listed", "unlisted", "withdrawn").

  • .animation_url: URL to the Lottie animation of the gift.

  • .emoji_id: Custom Telegram emoji ID for the gift.

  • .floor_price: Floor price of the gift's collection.

  • .unlocks_at: Date and time when the gift will be mintable (unsure if correct).

Last updated