> ## Documentation Index
> Fetch the complete documentation index at: https://yieldxyz.mintlify.site/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`](/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.

## Next steps

<Columns cols={2}>
  <Card title="Lending" icon="hand-holding-dollar" href="/documentation/earn/defi/lending/index">
    Compare all supported lending protocols.
  </Card>

  <Card title="Action lifecycle" icon="arrows-rotate" href="/documentation/earn/core-concepts/actions">
    How enter and exit actions progress from creation to settlement.
  </Card>
</Columns>


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