| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Query.WithdrawGrams
Synopsis
- data WithdrawGrams = WithdrawGrams
Documentation
data WithdrawGrams Source #
Withdraws all available TON Grams of the current user directly to the TON wallet of the current user, which is created automatically if the user has no wallet yet. The user must have a valid temporary password; see createTemporaryPassword. If the wallet is being created, then the request fails with the error WALLET_CREATING and must be repeated later. The withdrawal is completed only after the transaction is confirmed on the TON blockchain. Returns Ok
Constructors
| WithdrawGrams |
Instances
| ToJSON WithdrawGrams Source # | |
Defined in TD.Query.WithdrawGrams Methods toJSON :: WithdrawGrams -> Value # toEncoding :: WithdrawGrams -> Encoding # toJSONList :: [WithdrawGrams] -> Value # toEncodingList :: [WithdrawGrams] -> Encoding # | |
| Show WithdrawGrams Source # | |
Defined in TD.Query.WithdrawGrams Methods showsPrec :: Int -> WithdrawGrams -> ShowS # show :: WithdrawGrams -> String # showList :: [WithdrawGrams] -> ShowS # | |
| Eq WithdrawGrams Source # | |
Defined in TD.Query.WithdrawGrams Methods (==) :: WithdrawGrams -> WithdrawGrams -> Bool # (/=) :: WithdrawGrams -> WithdrawGrams -> Bool # | |
| ShortShow WithdrawGrams Source # | |
Defined in TD.Query.WithdrawGrams Methods shortShow :: WithdrawGrams -> String Source # | |