> ## Documentation Index
> Fetch the complete documentation index at: https://docs.spiralstake.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# get_prices

> Current USD prices for loan and collateral tokens.

Returns current USD prices keyed by token address.

## Input

<ParamField path="chainId" type="integer" default="1">
  `1` = Ethereum, `4663` = Robinhood Chain.
</ParamField>

## Output

```json theme={null}
{
  "asOf": "2026-01-01T00:00:00.000Z",
  "prices": {
    "0xdAC17F958D2ee523a2206206994597C13D831ec7": 1.0,
    "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2": 1730.42
  }
}
```

## Example

```ts theme={null}
const { prices } = await call("get_prices");
```

<Note>
  Prices are display-only — they never drive LTV, leverage, or liquidation math. A price outage degrades USD values but does not affect a built transaction's safety.
</Note>
