Supported Chains
Available on Ethereum mainnet and testnet
Available Endpoints:
Click on the endpoint to jump to the section with full details
/getstake GET
-Get the stake amount for a particular address.
/ restake POST
- Initiate a transaction to restake on EigenLayer protocol.
/claim POST
- Initiate a transaction to claim restaked token after a withdrawal request.
/ delegate POST
- Initiate a transaction to delegate the staked assets on EigenLayer.
/ undelegate POST
- Initiate a transaction to undelegate the staked assets on the EigenLayer.
Also see Error Handling Details
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 Liquid Staking ID page for a complete Liquid Staking ID list and more information.
Liquid Staking Name
Chain
Liquid Staking ID
Endpoint Details
/getstake
Get the stake amount for a particular address.
GET
https://api.expand.network/liquidstaking/getstake
Query Parameters
Remote procedural call URL.
Public address of the user.
Sample Request Sample Response
Copy https://api.expand.network/liquidstaking/getstake?address=0x7358cE33f7C3361A66d644A95603983adF16D722&liquidStakingId=3
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"bEIGEN" : "110000000000000000"
}
}
back to top
/restake
Initiate a transaction to restake on EigenLayer.
POST
https://api.expand.network/liquidstaking/restake
Request Body
Remote procedural call URL.
Public address of the owner of this request.
Staked token name for restake.
Maximum gas limit provided by the sender, for the transaction.
Sample Request Sample Response
Copy {
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"amount" : "100000000000000" ,
"liquidStakingId" : "3" ,
"gas" : "8000000" ,
"gasPriority" : "high" ,
"token" : "sTETH"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "1" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x858646372CC42E1A627fcE94aa7A7033e7CF075A" ,
"data" : "0xe7a050aa00000000000000000000000093c4b944d05dfe6df7645a86cd2206016c51564d000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000000000000000000000000000000005af3107a4000" ,
"value" : "0" ,
"gas" : "171219" ,
"gasPrice" : "2" ,
"estimationCheck" : true ,
"referenceId" : "6ced624eb4bf46438063062d4a4df12d"
}
}
back to top
/delegate
Initiate a transaction to delegate the staked assets on EigenLayer.
POST
https://api.expand.network/liquidstaking/delegate
Request Body
Remote procedural call URL.
Public address of the owner of this request.
The operator contract address to which the user wants to delegate
Maximum gas limit provided by the sender, for the transaction.
Sample Request Sample Response
Copy {
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"delegateTo" : "0xdbed88d83176316fc46797b43adee927dc2ff2f5" ,
"liquidStakingId" : "3" ,
"gas" : "80000" ,
"gasPriority" : "low"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "1" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A" ,
"data": "0xeea9064b000000000000000000000000dbed88d83176316fc46797b43adee927dc2ff2f500000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"gas" : "80000" ,
"value" : "0" ,
"gasPrice" : "1" ,
"estimationCheck" : true ,
"referenceId" : "f95b5b2d47124927ba87c452202d9bbf"
}
}
back to top
/undelegate
Initiate a transaction to undelegate the staked assets on the Eigen Layer.
POST
https://api.expand.network/liquidstaking/undelegate
Request Body
Remote procedural call URL.
Public address of the owner of this request.
Maximum gas limit provided by the sender, for the transaction.
Sample Request Sample Response
Copy {
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"liquidStakingId" : "3" ,
"gas" : "80000"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "1" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A" ,
"data" : "0xda8be864000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402" ,
"gas" : "131514" ,
"value" : "0" ,
"estimationCheck" : true ,
"referenceId" : "e05489bdfda945f096746d4634c7a283"
}
}
back to top
/requestwithdrawal
Initiate a transaction to request a withdrawal on EigenLayer.
POST
https://api.expand.network/liquidstaking/requestwithdrawal
Request Body
Remote procedural call URL.
Public address of the owner of this request.
Amount of tokens to request withdrawal.
Maximum gas limit provided by the sender, for the transaction.
Sample Request Sample Response
Copy {
"liquidStakingId" : "3" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"amount" : "15630524642139" ,
"gas" : "800000" ,
"gasPriority" : "high" ,
"token" : "sTETH"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "1" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A" ,
"data": "0x0dd8dd02000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000000000000000000000000000000000000000000100000000000000000000000093c4b944d05dfe6df7645a86cd2206016c51564d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000e3743de735b",
"gas" : "97185" ,
"value" : "0" ,
"gasPrice" : "2" ,
"estimationCheck" : true ,
"referenceId" : "f77d6f7160f84040a5766e908cc76510"
}
}
back to top
/claim
Initiate a transaction to claim the rewards.
POST
https://api.expand.network/liquidstaking/claim
Request Body
Remote procedural call URL.
Public address of the owner of this request.
Amount of tokens to claim.
Maximum gas limit provided by the sender, for the transaction.
Sample Request Sample Response
Copy {
"liquidStakingId" : "3" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"amount" : "1236" ,
"token" : "sTETH" ,
"gas" : "800000" ,
"gasPriority" : "high"
}
Copy {
"status" : 200 ,
"msg" : "success" ,
"data" : {
"chainId" : "1" ,
"from" : "0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402" ,
"to" : "0x39053D51B77DC0d36036Fc1fCc8Cb819df8Ef37A" ,
"data": "0x334043960000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b402000000000000000000000000dbed88d83176316fc46797b43adee927dc2ff2f5000000000000000000000000dae2f6eddda6fb4fb60cc02633de27e2b431b4020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000100000000000000000000000093c4b944d05dfe6df7645a86cd2206016c51564d000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000004d4000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe840000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001",
"gas" : "800000" ,
"value" : "0" ,
"gasPrice" : "2" ,
"estimationCheck" : true ,
"referenceId" : "2b178c56016b4446bd9e77329bcc3eaf"
}
}
back to top
Error Handling Details
Indicates the request is invalid or missing the required parameters. The msg field will contain details about the error.
Indicates the request lacks valid authentication credentials (API key). Ensure that you provide a valid API key in the request headers.
Indicates that the specified endpoint or resource does not exist.
Indicates an internal server error.
back to top
Last updated 2 months ago