get_onramp_base_currencies()

async Client.get_onramp_base_currencies()

Get the supported base fiat currencies for an onramp provider.

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

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

Returns:

List of str – On success, a list of supported fiat currency codes is returned.

Example

# Get supported base currencies
currencies = await app.get_onramp_base_currencies(provider="provider_id", crypto_currency="TON")