mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
17 lines
412 B
TypeScript
17 lines
412 B
TypeScript
import {
|
|
listFiatCurrencies,
|
|
fetchFiatRates
|
|
} from '@breeztech/react-native-breez-sdk'
|
|
|
|
const exampleListCurrencies = async () => {
|
|
// ANCHOR: list-fiat-currencies
|
|
const fiatCurrencies = await listFiatCurrencies()
|
|
// ANCHOR_END: list-fiat-currencies
|
|
}
|
|
|
|
const exampleFetchRates = async () => {
|
|
// ANCHOR: fetch-fiat-rates
|
|
const fiatRates = await fetchFiatRates()
|
|
// ANCHOR_END: fetch-fiat-rates
|
|
}
|