Layer 220
PaymentsGetStarGiftWithdrawalUrl
Convert a collectible gift to an NFT on the TON blockchain.
method
Users
payments.getStarGiftWithdrawalUrl#d06e93a8 stargift:InputSavedStarGift password:InputCheckPasswordSRP = payments.StarGiftWithdrawalUrl;
Parameters
| Name | Type | Description |
|---|---|---|
| Stargift | InputSavedStarGift | The collectible gift to export. |
| Password | InputCheckPasswordSRP | The current user's 2 FA password, passed as specified here. |
Returns
payments.StarGiftWithdrawalUrlPossible 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 <number> seconds. |
| 400 | SESSION_TOO_FRESH_%d | This session was created less than 24 hours ago, try again in <number> seconds. |
Gogram Example
// PaymentsGetStarGiftWithdrawalUrl - positional arguments result, err := client.PaymentsGetStarGiftWithdrawalUrl(&tg.InputSavedStarGift{}, &tg.InputCheckPasswordSrp{}) if err != nil { // handle error } // result is *tg.PaymentsStarGiftWithdrawalUrl