> For the complete documentation index, see [llms.txt](https://docs.alphafi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alphafi.xyz/resources/contract-and-object-ids.md).

# Contract & Object IDs

These are the latest verified package and object IDs for AlphaFi and AlphaLend on **Sui mainnet**. Use them to interact with the protocol programmatically or for integration.

### AlphaFi Oracle

```jsx
ALPHAFI_LATEST_ORACLE_PACKAGE_ID:
  "0x7671937b899c7756644da64feb8674a04dfc335059874919a863fb8da6f19fd4",

ALPHAFI_ORACLE_OBJECT_ID:
  "0xce4ca140eb264bdc5b03f3268eeb013495f04561e38473aadcf654fb0db6b096",
```

### AlphaFi Stdlib

```jsx
ALPHAFI_FIRST_STDLIB_PACKAGE_ID:
  "0x4b591bbc246c9fadd28e7ac895e0778fb0e102f1b0d9f441e78d35f0d1ea1fcc",

ALPHAFI_LATEST_STDLIB_PACKAGE_ID:
  "0x4b591bbc246c9fadd28e7ac895e0778fb0e102f1b0d9f441e78d35f0d1ea1fcc",
```

### AlphaLend Lending Protocol

```jsx
ALPHALEND_FIRST_PACKAGE_ID:
  "0xd631cd66138909636fc3f73ed75820d0c5b76332d1644608ed1c85ea2b8219b4",

ALPHALEND_LATEST_PACKAGE_ID:
  "0xe48b33ef41d56e04fc42bf558e4d54d7cae8a363da9054a6c24bafc2c53a4f33",

LENDING_PROTOCOL_ID:
  "0x01d9cf05d65fa3a9bb7163095139120e3c4e414dfbab153a49779a7d14010b93",
```

> These values are always up-to-date in the [alphalend-sdk-js](https://github.com/AlphaFiTech/alphalend-sdk-js/blob/main/src/constants/prodConstants.ts) constants file.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.alphafi.xyz/resources/contract-and-object-ids.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
