- convertDepositAmountread-onlydeprecated#
This operation is deprecated. Use checkDeposit for a concrete instructed amount, or getMaxDepositAmount to query deposit limits.
Compute the effective and raw amounts for a deposit of the given instructed amount, based on the coins currently available in the wallet. The
typefield (TransactionAmountMode) selects whetheramountis interpreted as an effective or as a raw amount.Request:
The request body must be a ConvertAmountRequest object.
Response:
On success, the result is an AmountResponse object.
// Deprecated: use CheckDepositRequest for a concrete instructed
// amount, or GetMaxDepositAmountRequest to query deposit limits.
interface ConvertAmountRequest {
amount: AmountString;
type: TransactionAmountMode;
depositPaytoUri: PaytoString;
}
interface AmountResponse {
effectiveAmount: AmountString;
rawAmount: AmountString;
}