get_exchange_rate
Retrieve current Bitcoin exchange rates from BTCPay's rate provider for currency pairs like BTC_USD or BTC_EUR to support payment processing and financial calculations.
Instructions
Get the current BTCPay exchange rate for a currency pair.
Args: currency_pair: Currency pair in format 'BTC_USD', 'BTC_EUR', etc. Default: 'BTC_USD'.
Returns the current exchange rate from BTCPay's configured rate provider.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency_pair | No | BTC_USD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |