Contents

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 type field (TransactionAmountMode) selects whether amount is 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;
}