Skip to main content

What is a project, protocol, and standard in Enso?

A project groups related protocol versions. A protocol is one implementation, identified by a slug. A standard describes the shared interface Enso uses to act on it.

J
Written by Javier Diaz

A project groups related protocol versions. A protocol is one implementation, identified by a slug. A standard describes the shared interface Enso uses to act on it.

Definition

This is Enso’s catalog data model. Projects are the top-level grouping. Protocols are the concrete versions you integrate against. Standards document common method patterns so the same action type can work across similar protocols.

How it works

  • A project is an overarching platform or service with more than one protocol implementation — for example a lending family with several versions.

  • A protocol has a unique slug, defined functionality, supported chains, and available actions.

  • A standard records shared inputs, function signatures, and expected outputs for those interactions.

  • Actions such as deposit, withdraw, swap, or borrow sit on top of that model and can be bundled into one transaction.

How Enso does this

Use GET https://api.enso.build/api/v1/projects and GET /v1/projects/protocols for project groupings, GET /v1/protocols or /v1/standards (and /v1/standards/{slug} or /integration/{slug}) for protocol and standard metadata, and GET /v1/actions for standardized actions. See Concepts and Get Protocol Data.

FAQ

Should I hardcode a protocol slug?

No. Discover slugs and supported actions from the live endpoints so new versions can appear without a product change.

Is a protocol the same as a standard?

No. A protocol is a specific implementation. A standard is the shared interface description Enso uses to interact with protocols of that kind.

Related articles

  • What is a DeFi Action?

  • What is protocol data in a DeFi API?

  • How do I discover tokens, vaults, and protocols from the API?

  • How do I see which chains and protocols Enso supports?

  • What is the Enso Bundle API?

Sources

Did this answer your question?