payments.getStarGiftWithdrawalUrl

Convert a collectible gift » to an NFT on the TON blockchain.

 Method schema is available as of layer 198. Switch »

Parameters

Name Type Description
stargift InputSavedStarGift The collectible gift to export.
password InputCheckPasswordSRP The current user's 2FA password, passed as specified here ».

Result

payments.StarGiftWithdrawalUrl

Only users can use this method

Possible errors

Code Type Description
400 PASSWORD_HASH_INVALID The provided password hash is invalid.
400 PASSWORD_TOO_FRESH_%d The password was modified less than 24 hours ago, try again in %d seconds.
400 SESSION_TOO_FRESH_%d This session was created less than 24 hours ago, try again in %d seconds.

Related pages

Two-factor authentication

How to login to a user's account if they have enabled 2FA, how to change password.

Telegram Gifts

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.