{error.message}
}Deposits: {item.deposits.symbol} {item.deposits.value.toDisplayString(2)}
Borrows: {item.borrows.symbol} {item.borrows.value.toDisplayString(2)}
Utilization: {item.utilizationRate.normalized.toFixed(2)}%Deposits: {item.deposits.symbol} {item.deposits.value.toDisplayString(2)}
Borrows: {item.borrows.symbol} {item.borrows.value.toDisplayString(2)}
Total supplied: {data.summary.totalSupplied.value.toDisplayString(2)} {data.summary.totalSupplied.symbol}
{sample.date.toLocaleDateString()}$ {sample.price.toFixed(2)}
{sample.date.toLocaleDateString()}$ {sample.price.toFixed(2)}
{sample.date.toLocaleDateString()} {sample.amount.value.toDisplayString(2)}
{sample.date.toLocaleDateString()} {sample.amount.value.toDisplayString(2)}
{sample.date.toLocaleDateString()} {sample.amount.value.toDisplayString(2)}
{sample.date.toLocaleDateString()} {sample.amount.value.toDisplayString(2)}
{sample.date.toLocaleDateString()} Deposits {sample.deposits.symbol} {sample.deposits.value.toDisplayString(2)} Borrows {sample.borrows.symbol} {sample.borrows.value.toDisplayString(2)}
))}{sample.date.toLocaleDateString()} Deposits {sample.deposits.symbol} {sample.deposits.value.toDisplayString(2)} Borrows {sample.borrows.symbol} {sample.borrows.value.toDisplayString(2)}
))}Deposits: {item.deposits.symbol} {item.deposits.value.toDisplayString(2)}
Borrows: {item.borrows.symbol} {item.borrows.value.toDisplayString(2)}
Deposits: {item.deposits.symbol} {item.deposits.value.toDisplayString(2)}
Borrows: {item.borrows.symbol} {item.borrows.value.toDisplayString(2)}
{sample.date.toLocaleDateString()} {sample.avgRate.normalized.toFixed(2)}%
{sample.date.toLocaleDateString()} {sample.avgRate.normalized.toFixed(2)}%
{sample.date.toLocaleDateString()} {sample.avgRate.normalized.toFixed(2)}%
{sample.date.toLocaleDateString()} {sample.avgRate.normalized.toFixed(2)}%
{holder.amount.amount.value.toFixed(4)} {holder.amount.token.info.symbol}
{holder.weight.normalized.toFixed(4)}%{holder.amount.amount.value.toFixed(4)} {holder.amount.token.info.symbol}
Net Balance: {data.netBalance.current.symbol} {data.netBalance.current.value.toDisplayString(2)}
Total Supplied: {data.totalSupplied.symbol} {data.totalSupplied.value.toDisplayString(2)}
Total Debt: {data.totalDebt.symbol} {data.totalDebt.value.toDisplayString(2)}
Net APY: {data.netApy.normalized.toFixed(2)}%Net Balance: {data.netBalance.current.symbol} {data.netBalance.current.value.toDisplayString(2)}
Total Supplied: {data.totalSupplied.symbol} {data.totalSupplied.value.toDisplayString(2)}
Total Debt: {data.totalDebt.symbol} {data.totalDebt.value.toDisplayString(2)}
Net APY: {data.netApy.normalized.toFixed(2)}%Net Balance: {item.netBalance.symbol} {item.netBalance.value.toDisplayString(2)}
Supplies: {item.supplies.symbol} {item.supplies.value.toDisplayString(2)}
Borrows: {item.borrows.symbol} {item.borrows.value.toDisplayString(2)}
Net Balance: {item.netBalance.symbol} {item.netBalance.value.toDisplayString(2)}
Supplies: {item.supplies.symbol} {item.supplies.value.toDisplayString(2)}
Borrows: {item.borrows.symbol} {item.borrows.value.toDisplayString(2)}
Current Weight: {item.currentRiskPremiumWeight.normalized.toFixed(2)}%
Latest Weight: {item.latestRiskPremiumWeight.normalized.toFixed(2)}%
Collateral: {item.collateral.normalized.toFixed(2)}%Current Weight: {item.currentRiskPremiumWeight.normalized.toFixed(2)}%
Latest Weight: {item.latestRiskPremiumWeight.normalized.toFixed(2)}%
Collateral: {item.collateral.normalized.toFixed(2)}%Total: {balance.totalAmount.value.toDisplayString(2)} {balance.info.symbol} {balance.exchange.symbol} {balance.exchange.value.toDisplayString(2)}
Supply APY: {balance.highestSupplyApy.normalized.toFixed(2)}%
Total: {balance.totalAmount.value.toDisplayString(2)} {balance.info.symbol} {balance.exchange.symbol} {balance.exchange.value.toDisplayString(2)}
Supply APY: {balance.highestSupplyApy.normalized.toFixed(2)}%
{activity.__typename}: {activity.txHash}
))}Network Fee: {fee.amount.value.toDisplayString(2)} {fee.token.info.symbol} ≈{fee.exchange.symbol} {fee.exchange.value.toDisplayString(2)}
); } ``` Like other declarative hooks, the `useNetworkFee` hook can be used in React Suspense mode and implements pausable mode. ```tsx title="Suspense Mode" const { data: fee } = useNetworkFee({ query: { activity }, currency: Currency.Eur, suspense: true, }); ``` ```tsx title="Pausable Mode" function ActivityFee({ activity, }: { activity: ActivityItem | null | undefined; }) { const { data: fee, paused } = useNetworkFee({ query: { activity, }, pause: !activity, }); // … } ``` --- Source: https://aave.com/docs/aave-v4/tools/exchange-rate.md # Aave V4 Exchange Rates Exchange rates in Aave are provided by [Oracles](../../ecosystem/oracle) using Chainlink price feeds. AaveKit provides current conversion rates between ERC-20 tokens, native tokens, and supported currencies: USD, EUR, and GBP. For smart-contract integrations, query USD reserve prices directly from the spoke oracle. ## Fetching Exchange Rates - **React**: Use the `useExchangeRate` hook for live exchange rates with automatic polling every 10 seconds, or the imperative `useExchangeRateAction` hook for on-demand exchange rates. - **TypeScript**: Use the `exchangeRate` action, and in GraphQL, the `exchangeRate` query to fetch conversion rates.Status - {order.__typename} - {order.explorerUrl}
Status - {order.__typename} - {order.explorerUrl}