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

# Dolomite

> Supply assets to a Dolomite market and hold the resulting balance inside Dolomite's own margin accounting.

Dolomite is account-based rather than token-based: instead of minting a receipt token, it tracks your supplied balance directly inside the DolomiteMargin contract, keyed by `(owner, accountNumber, marketId)`. A positive balance is a supply; Yield.xyz reads it with `getAccountWei(account, marketId)` and reports it with `pricePerShare: 1` against the market's underlying asset.

## Availability

| Network | Markets | Position |
| - | - | - |
| Arbitrum | Many per-asset markets | DolomiteMargin internal balance |
| Ethereum | Many per-asset markets | DolomiteMargin internal balance |
| Base | A small number of markets | DolomiteMargin internal balance |

Yield IDs follow `{network}-{token}-{marketId}-dolomite-lending`, for example `ethereum-usdc-2-dolomite-lending`; the numeric `marketId` is Dolomite's own market identifier, not a Yield.xyz construct. Query [`GET /v1/yields?providers=dolomite&types=lending`](https://docs.yield.xyz/api-reference/YieldsController_getYields) for the markets enabled for your project.

## Entering

Enter takes a required `amount`, with no `receiverAddress` option. Yield.xyz builds an approval transaction (skipped if allowance already covers the amount) followed by a deposit through Dolomite's `DepositWithdrawalRouter`, the same router address on every supported network.

## Exiting

Exit takes a required `amount`; unlike Aave, Compound, and Spark on Yield.xyz, there is no `useMaxAmount` flag. To withdraw the full position, pass the full supplied amount explicitly. There is no cooldown; withdrawal goes back through the `DepositWithdrawalRouter`.

## Rewards and position

Interest from borrowers accrues directly into your DolomiteMargin balance; there's no separate reward-claim step for it. Pending actions: none.

## List the live yields

Copy this request to list the Dolomite yields enabled for your project. Yield IDs change as markets and networks are added, so query the API rather than hardcoding them.

```bash theme={null}
curl "https://api.yield.xyz/v1/yields?providers=dolomite&limit=100" \
  -H "x-api-key: $YIELD_API_KEY"
```

## Next steps

> [card] [Lending](https://docs.yield.xyz/documentation/earn/defi/lending/index.md)
>
> Compare all supported lending protocols.

> [card] [Action lifecycle](https://docs.yield.xyz/documentation/earn/core-concepts/actions.md)
>
> How enter and exit actions progress from creation to settlement.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.