# Account ID
Source: https://docs.enso.build/api-reference/account/account-id
public/openapi.json get /api/v1/account/accountId
Gives the Account ID associated with the current user
# Approval to Enso contract
Source: https://docs.enso.build/api-reference/defi-shortcuts/approval-to-enso-contract
public/openapi.json get /api/v1/wallet/approve
Returns a transaction that approves your Enso contracts to spend the given amount of specified tokens. Approve before sending the route transaction on-chain.
# Bundle a list of actions
Source: https://docs.enso.build/api-reference/defi-shortcuts/bundle-a-list-of-actions
public/openapi.json post /api/v1/shortcuts/bundle
Returns a single transaction bundling the submitted actions. For available actions, see `/actions` endpoint.
# Get transaction for IPOR shortcut
Source: https://docs.enso.build/api-reference/defi-shortcuts/get-transaction-for-ipor-shortcut
public/openapi.json post /api/v1/shortcuts/static/ipor
# Optimal route between two tokens
Source: https://docs.enso.build/api-reference/defi-shortcuts/optimal-route-between-two-tokens
public/openapi.json get /api/v1/shortcuts/route
Calculates optimal transaction with the best route between two tokens, which may involve several actions that interact with various DeFi protocols.
With `useEoa` set to true, it returns balances for the given EOA address instead.
# Actions for protocol
Source: https://docs.enso.build/api-reference/integration/actions-for-protocol
public/openapi.json get /api/v1/actions/{slug}
# Aggregators
Source: https://docs.enso.build/api-reference/integration/aggregators
public/openapi.json get /api/v1/aggregators
Fetches aggregators supported by Enso
# All Protocols
Source: https://docs.enso.build/api-reference/integration/all-protocols
public/openapi.json get /api/v1/protocols
Returns all available protocols with supported chains
# Networks
Source: https://docs.enso.build/api-reference/integration/networks
public/openapi.json get /api/v1/networks
Returns networks supported by Enso
# Projects
Source: https://docs.enso.build/api-reference/integration/projects
public/openapi.json get /api/v1/projects
Returns supported projects (e.g. `aave`) or platforms associated with available projects
# Protocols in a project
Source: https://docs.enso.build/api-reference/integration/protocols-in-a-project
public/openapi.json get /api/v1/projects/{project}/protocols
Returns all protocols available within the given project. For supported projects, see the `/projects` endpoint.
# Standard per protocol
Source: https://docs.enso.build/api-reference/integration/standard-per-protocol
public/openapi.json get /api/v1/standards/{slug}
Returns a standard matching the given `slug`, containing supported actions, exact `inputs`, and a list of chains the standard's supported on.
# Standards
Source: https://docs.enso.build/api-reference/integration/standards
public/openapi.json get /api/v1/standards
Returns standards available for bundling. Each element represents a protocol, with list of supported actions and chains the standard's supported on.
# Supported actions
Source: https://docs.enso.build/api-reference/integration/supported-actions
public/openapi.json get /api/v1/actions
Returns actions that can be bundled with `/shortcuts/bundle` endpoint. For specific protocol actions and exact action inputs, see [`/actions/{slug}`](/api-reference/integration/actions-for-a-given-protocol) endpoint.
# Nontokenized positions
Source: https://docs.enso.build/api-reference/tokens/nontokenized-positions
public/openapi.json get /api/v1/nontokenized
Returns a list of all nontokenized positions with details.
# Token Price
Source: https://docs.enso.build/api-reference/tokens/token-price
public/openapi.json get /api/v1/prices/{chainId}/{address}
Returns token price for the given address and chainId.
# Tokens
Source: https://docs.enso.build/api-reference/tokens/tokens
public/openapi.json get /api/v1/tokens
Returns tokens and their details.
Shortcuts to executable calldata for DeFi Workflows.
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Network | Router V2 | Delegate V2 |
---|---|---|
Ethereum | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Optimism | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Binance | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Gnosis | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Unichain | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Polygon | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Sonic | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
ZkSync | `0x1BD8CefD703CF6b8fF886AD2E32653C32bc62b5C` | `0x4c3Db0fFf66f98d84429Bf60E7622e206Fc4947c` |
World | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Hyper | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Soneium | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Base | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Arbitrum | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Avalanche | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Ink | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Linea | `0xA146d46823f3F594B785200102Be5385CAfCE9B5` | `0xEe41aB55411a957c43C469F74867fa4671F9f017` |
Berachain | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Sepolia | `0xF75584eF6673aD213a685a1B58Cc0330B8eA22Cf` | `0x7663fd40081dcCd47805c00e613B6beAc3B87F08` |
Network | Router V1 | Delegate V1 |
---|---|---|
Ethereum | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Optimism | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Binance | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Gnosis | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Unichain | - | - |
Polygon | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Sonic | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
ZkSync | `0xd12ecDD67300D5ef0A68576CfDF038bAB5b5054a` | `0x43BD12326142568D5Cc33c7326A68Ca4e0be9292` |
World | - | - |
Hyper | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Soneium | - | - |
Base | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Arbitrum | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Avalanche | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Ink | - | - |
Linea | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Berachain | `0x80EbA3855878739F4710233A8a19d89Bdd2ffB8E` | `0x38147794ff247e5fc179edbae6c37fff88f68c52` |
Sepolia | - | - |
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Install the package:
```bash npm install @ensofinance/shortcuts-widget ```Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}
Updated {date_0}