LogoLogo
  • Overview
  • Getting Started
  • 🔑How do I get my API Key?
  • 📑List of All Endpoints
  • ⚙️SDK
    • Overview
    • Getting Started
  • ⛓️INTEGRATIONS
    • ⚡Blockchains
      • EVM based blockchains
        • Ethereum
        • Binance Smart Chain
        • Avalanche - C
        • Avalanche - P
        • Avalanche - X
        • Polygon
        • Cronos
        • Arbitrum
        • Fantom
        • Optimism
        • Base
        • zkSync Era
        • Mantle
      • Non-EVM based chains
        • Tron
        • Solana
        • Near
        • Algorand
        • Aptos
        • Sui
        • Starknet
        • TON
        • Cosmos Hub
        • Osmosis
        • Stacks
        • Bitcoin
        • Stellar
          • Stellar RWA
        • XRP Ledger
          • XRP Ledger RWA
    • ⚡Bridges
      • Stargate
      • Stargate V2
      • Squid Router
      • Squid Router V2
      • Allbridge Classic
      • Allbridge Core
    • ⚡DEX & DEX Aggregators
      • Uniswap V2
      • Uniswap V3
      • Uniswap X
      • Sushiswap V2
      • PancakeSwap V2
      • PancakeSwap V3
      • Aerodrome
      • Camelot V3
      • Curve V2
      • Balancer V2
      • STON.fi
      • Trader Joe
      • Orca
      • Raydium
      • SDEX
      • Cetus
      • REF Finance
      • Liquidswap
      • Sologenic
      • Alex
      • 0x (Aggregator)
      • 1inch (Aggregator)
      • Kyberswap (Aggregator)
        • Kyberswap ( Limit Order Endpoints )
      • Jupiter (Aggregator)
    • ⚡Derivatives
      • dYdX V4
    • ⚡Fungible Tokens
      • ERC20
      • WETH
    • ⚡Lending Protocols
      • Aave V2
      • Aave V3
      • Compound V2
      • Compound V3
      • Morpho
    • ⚡Yield Aggregators
      • Yearn Finance V2
      • Harvest Finance
      • Pendle
    • ⚡Liquid Staking
      • Chorus One
      • Lido V2
      • Stader
      • Benqi
      • Jito
      • EigenLayer
    • ⚡Non Fungible Tokens
      • ERC721
      • ERC1155
      • Metaplex
    • ⚡Oracles
      • ChainLink
      • WinkLink
      • Pyth Network
      • RedStone
    • ⚡Stablecoins
      • EVM
    • ⚡Synthetics
      • Synthetix
    • ⚡Supported Wallets
      • MPC Wallets
        • DFNS
        • FORDEFI
        • FIREBLOCKS
        • CIRCLE
      • HD Wallets
        • PHANTOM
        • COINBASE
        • TON Wallet
      • Wallet Connect v2
  • How To
    • Execute a Local Swap
    • Execute a Cross Chain Swap
    • Use Limit Orders
    • Lend and Borrow
    • Provision Liquidity
      • Adding Liquidity
      • Removing liquidity
    • Yield Farm
    • Use Our Transaction Decoder
    • Submit an RFQ
    • Subscribe to Events
    • Stream Data (WebSocket)
      • Stream Transaction
      • Stream Trade
      • Stream Gas
      • Stream Ticker Price
    • Source Pricing
    • Track Memecoins
    • Manage Token Approvals
  • Use Cases
    • Trade Reconciliation
    • Portfolio Management
    • Trading Features
    • On-Chain Data: DEX Liquidity Pool Forensics
    • Transaction and Pool Analysis
  • Account Abstraction
    • Overview
      • User Endpoints
      • Paymaster Endpoint
      • Bundler Endpoint
    • ⚙️SDK - Overview
  • Additional Info
    • Error Messages
    • Client-Side Security Essentials
    • Compute Unit Costs
    • API Metadata
    • Audit Certificate
    • Brand Assets
    • FAQs
    • Quicknode Marketplace
      • DEX
      • Lending Protocols
  • ID's
    • Chain IDs
    • Bridge IDs
      • Internal Chain IDs for Bridges
    • DEX IDs
    • Lending Protocol IDs
    • Yield Aggregator ID
    • Liquid Staking IDs
    • Oracle IDs
    • Stablecoin IDs
    • Derivatives IDs
    • Synthetics IDs
  • Mapping
    • Blockchains
    • DEXs
      • Uniswap V2
      • Uniswap V3
      • Sushiswap
      • PancakeSwap
      • Curve
      • Balancer
    • Lending Protocols
      • Aave
      • Compound
  • Protocol Spender
    • Spender list
Powered by GitBook
On this page
  • Supported Chains
  • Available Endpoints:
  • Liquid Staking IDs
  • Endpoint Details
  • /getstake
  • /restake
  • /delegate
  • /undelegate
  • /requestwithdrawal
  • /claim
  • Error Handling Details
  1. INTEGRATIONS
  2. Liquid Staking

EigenLayer

PreviousJitoNextNon Fungible Tokens

Last updated 1 month ago

Supported Chains

Available on Ethereum mainnet and testnet

Available Endpoints:

Click on the endpoint to jump to the section with full details

  • GET -Get the stake amount for a particular address.

  • / POST - Initiate a transaction to restake on EigenLayer protocol.

  • POST - Initiate a withdrawal request on EigenLayer.

  • POST - Initiate a transaction to claim restaked token after a withdrawal request.

  • POST - Initiate a transaction to delegate the staked assets on EigenLayer.

  • POST - Initiate a transaction to undelegate the staked assets on the EigenLayer.

Also see

Liquid Staking IDs

Many endpoints have a parameter where you can provide a Liquid Staking ID.

Below is a list of Liquid Staking IDs related to the EigenLayer. Please see the for a complete Liquid Staking ID list and more information.

Liquid Staking Name
Chain
Liquid Staking ID

EigenLayer

Ethereum

3

EigenLayer

Ethereum Holesky Testnet

17000

Endpoint Details

/getstake

Get the stake amount for a particular address.

GET https://api.expand.network/liquidstaking/getstake

Query Parameters

Name
Type
Description

rpc

String

Remote procedural call URL.

liquidStakingId

String

address*

String

Public address of the user.

https://api.expand.network/liquidstaking/getstake?address=0x7358cE33f7C3361A66d644A95603983adF16D722&liquidStakingId=3
{
    "status": 200,
    "msg": "success",
    "data": {
        "bEIGEN": "110000000000000000"
    }
}

/restake

Initiate a transaction to restake on EigenLayer.

POST https://api.expand.network/liquidstaking/restake

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

liquidStakingId

String

from*

String

Public address of the owner of this request.

token*

String

Staked token name for restake.

gas*

String

Maximum gas limit provided by the sender, for the transaction.

gasPriority

String

low, medium, or high.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
   "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
   "amount": "100000000000000",
   "liquidStakingId": "3",
   "gas": "8000000",
   "gasPriority": "high",
   "token":"sTETH"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
        "to": "0x858646372CC42E1A627fcE94aa7A7033e7CF075A",
        "data": "0xe7a050aa00000000000000000000000093c4b944d05dfe6df7645a86cd2206016c51564d000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000000000000000000000000000000005af3107a4000",
        "value": "0",
        "gas": "171219",
        "gasPrice": "2",
        "estimationCheck": true,
        "referenceId": "6ced624eb4bf46438063062d4a4df12d"
    }
}

With ofacCheck:

{
   "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
   "amount": "100000000000000",
   "liquidStakingId": "3",
   "gas": "8000000",
   "gasPriority": "high",
   "token":"sTETH",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/delegate

Initiate a transaction to delegate the staked assets on EigenLayer.

POST https://api.expand.network/liquidstaking/delegate

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

liquidStakingId

String

from*

String

Public address of the owner of this request.

delegateTo*

String

The operator contract address to which the user wants to delegate

gas*

String

Maximum gas limit provided by the sender, for the transaction.

gasPriority

String

low, medium, or high.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
    "delegateTo": "0xdbed88d83176316fc46797b43adee927dc2ff2f5",
    "liquidStakingId": "3",
    "gas": "80000",
    "gasPriority": "low"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
        "to": "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A",
        "data": "0xeea9064b000000000000000000000000dbed88d83176316fc46797b43adee927dc2ff2f500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
        "gas": "80000",
        "value": "0",
        "gasPrice": "1",
        "estimationCheck": true,
        "referenceId": "f95b5b2d47124927ba87c452202d9bbf"
    }
}

With ofacCheck:

{
    "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
    "delegateTo": "0xdbed88d83176316fc46797b43adee927dc2ff2f5",
    "liquidStakingId": "3",
    "gas": "80000",
    "gasPriority": "low",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/undelegate

Initiate a transaction to undelegate the staked assets on the Eigen Layer.

POST https://api.expand.network/liquidstaking/undelegate

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

liquidStakingId

String

from*

String

Public address of the owner of this request.

gas*

String

Maximum gas limit provided by the sender, for the transaction.

gasPriority

String

low, medium, or high.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
    "liquidStakingId": "3",
    "gas": "80000"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
        "to": "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A",
        "data": "0xda8be864000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402",
        "gas": "131514",
        "value": "0",
        "estimationCheck": true,
        "referenceId": "e05489bdfda945f096746d4634c7a283"
    }
}

With ofacCheck:

{
    "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
    "liquidStakingId": "3",
    "gas": "80000",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/requestwithdrawal

Initiate a transaction to request a withdrawal on EigenLayer.

POST https://api.expand.network/liquidstaking/requestwithdrawal

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

liquidStakingId

String

from*

String

Public address of the owner of this request.

amount*

String

Amount of tokens to request withdrawal.

token*

String

Staked token name.

gas*

String

Maximum gas limit provided by the sender, for the transaction.

gasPriority

String

low, medium, or high.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
    "liquidStakingId": "3",
    "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
    "amount": "15630524642139",
    "gas": "800000",
    "gasPriority": "high",
    "token": "sTETH"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
        "to": "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A",
        "data": "0x0dd8dd02000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000000000000000000000000000000000000000000100000000000000000000000093c4b944d05dfe6df7645a86cd2206016c51564d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000e3743de735b",
        "gas": "97185",
        "value": "0",
        "gasPrice": "2",
        "estimationCheck": true,
        "referenceId": "f77d6f7160f84040a5766e908cc76510"
    }
}

With ofacCheck:

{
    "liquidStakingId": "3",
    "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
    "amount": "15630524642139",
    "gas": "800000",
    "gasPriority": "high",
    "token": "sTETH",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

/claim

Initiate a transaction to claim the rewards.

POST https://api.expand.network/liquidstaking/claim

Request Body

Name
Type
Description

rpc

String

Remote procedural call URL.

liquidStakingId

String

from*

String

Public address of the owner of this request.

amount*

String

Amount of tokens to claim.

token*

String

Staked token name.

gas*

String

Maximum gas limit provided by the sender, for the transaction.

gasPriority

String

low, medium, or high.

ofacCheck

Boolean

if true,provides insights of the contract and tokens involved in the transaction. By Default, false Available on Ethereum, Polygon, BSC, Avalanche, Arbitrum and Optimism Mainnet

{
   "liquidStakingId": "3",
   "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
   "amount": "1236",
   "token": "sTETH",
   "gas": "800000",
   "gasPriority": "high"
}
{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
        "to": "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A",
        "data": "0x334043960000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000dbed88d83176316fc46797b43adee927dc2ff2f5000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b4020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000100000000000000000000000093c4b944d05dfe6df7645a86cd2206016c51564d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004d4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001",
        "gas": "800000",
        "value": "0",
        "gasPrice": "2",
        "estimationCheck": true,
        "referenceId": "2b178c56016b4446bd9e77329bcc3eaf"
    }
}

With ofacCheck:

{
   "liquidStakingId": "3",
   "from": "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402",
   "amount": "1236",
   "token": "sTETH",
   "gas": "800000",
   "gasPriority": "high",
    "ofacCheck": true
}

With ofacCheck:

{
    "status": 200,
    "msg": "success",
    "data": {
        "chainId": "1",
        "from": "0xfAE7D9854995E28BEB1B1da864ee2A1E2EC17f07",
        "to": "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",
        "value": "0",
        "gas": "40000",
        "data": "0xede4edd00000000000000000000000005d3a536e4d6dbd6114cc1ead35777bab948e3643",
        "gasPrice": "499498318",
        "estimationCheck": true,
        "insights": {
            "asset": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            },
            "to": {
                "issues": [],
                "verdict": {
                    "code": 0,
                    "label": "NO_ISSUES"
                }
            }
        },
        "referenceId": "e9bfe6229a844227a92a2f6669aa1da0"
    }
}

Error Handling Details

Error
Description

400 (Bad Request)

Indicates the request is invalid or missing the required parameters. The msg field will contain details about the error.

401 (Unauthorised)

Indicates the request lacks valid authentication credentials (API key). Ensure that you provide a valid API key in the request headers.

404 (Not Found)

Indicates that the specified endpoint or resource does not exist.

500 (Server Error)

Indicates an internal server error.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

Refer to the page for details.

⛓️
⚡
Liquid Staking ID page
/getstake
restake
/requestwithdrawal
/claim
/
delegate
/
undelegate
Error Handling Details
back to top
back to top
back to top
back to top
back to top
back to top
back to top
Liquid Staking Id
Liquid Staking Id
Liquid Staking Id
Liquid Staking Id
Liquid Staking Id
Liquid Staking Id