diff --git a/src/guide/fiat_currencies.md b/src/guide/fiat_currencies.md index 6ae92a9..7667872 100644 --- a/src/guide/fiat_currencies.md +++ b/src/guide/fiat_currencies.md @@ -1 +1,28 @@ -# Supporting fiat currencies \ No newline at end of file +# Supporting fiat currencies + + +
python
+
+ + +In order to list the availiable fiat currencies. +```python +try: + fiat_currencies = sdk_services.list_fiat_currencies() + +except Exception as error: + #Handle error +``` + +To get the current btc rate for the currencies. + +```python +try: + fiat_rates = sdk_services.sdk_services.fetch_fiat_rates() + # print your desired rate +except Exception as error: + # Handle error + +``` + +
\ No newline at end of file