> For the complete documentation index, see [llms.txt](https://docs.expand.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.expand.network/ids/lending-protocol-ids.md).

# Lending Protocol IDs

Lend and Borrow ID helps expand.network to redirect the query or transaction to the appropriate lend and borrow protocol. By default, it tries to communicate with the Aave V2 on the ethereum mainnet. Following is the list of L\&B protocols with their respective IDs.&#x20;

| Chain Name               | Lend and Borrow Name and ID                                                                                                                                                                                              |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Ethereum                 | <ol><li>Aave V2 : <strong>1000</strong></li><li>Aave V3 : <strong>1200</strong></li><li>Compound V2 : <strong>1100</strong></li><li>Compound V3 : <strong>1300</strong></li><li>Morpho : <strong>1400</strong></li></ol> |
| Ethereum Testnet Sepolia | <ol><li>Aave V3 Testnet : <strong>1202</strong></li><li>Compound V3 Testnet : <strong>1302</strong></li></ol>                                                                                                            |
| Avalanche                | <ol><li>Aave V2  : <strong>1003</strong></li><li>Aave V3: <strong>1203</strong></li></ol>                                                                                                                                |
| Polygon                  | <ol><li>Aave V2  : <strong>1005</strong></li><li>Aave V3: <strong>1205</strong></li></ol>                                                                                                                                |
| Arbitrum                 | <ol><li>Aave V3: <strong>1204</strong></li></ol>                                                                                                                                                                         |
| Base                     | <ol><li>Aave V3: <strong>1206</strong></li><li>Morpho<strong>: 1402</strong></li></ol>                                                                                                                                   |
| Optimism                 | <ol><li>Aave V3: <strong>1207</strong></li></ol>                                                                                                                                                                         |
