get_onramp_limits()

async Client.get_onramp_limits()

Get transaction limits for an onramp provider and currency pair.

Usable by Users Bots
Parameters:
  • provider (str) – The onramp provider ID.

  • crypto_currency (str) – The cryptocurrency code (e.g. “TON”).

  • base_currency (str) – The fiat currency code (e.g. “USD”).

  • payment_method (str, optional) – The payment method identifier.

Returns:

OnrampLimits – On success, the transaction limits are returned.

Example

# Get limits
limits = await app.get_onramp_limits(provider="provider_id", crypto_currency="TON", base_currency="USD")