Api Reference

getNFTMetadata

Returns a stake transaction

get

Create a transaction that stakes ETH.

https://docs.metamask.io/guide/sending-transactions.html

Query parameters
sourcestringOptional

query source.

Default: xxx
StrategyIdstringOptional

Id of the strategy.

Default: 32x
addressstringRequired

The address performing the staking action. The address will have the authority to unstake.

Example: chainup.eth
amountstringRequired

The amount of ETH to stake (in uint256).

Example: 32000000000
Responses
200

Successful operation

get
/quote/stake

Returns a unstake transaction, Not supported now until Shanghai upgrade

get

Reserved, not available until Shanghai upgrade

Query parameters
sourcestringOptional

query source.

Default: xxx
addressstringRequired

The address performing the staking action. The address will have the authority to sell.

Default: chainup.eth
pubkeysstringRequired

The pubey of the validator that will be sold. When selling all, can fill in "all"

Example: ad28d4ce9afdac1584e4ce9440b7e1a9dc4a8c5f4bc8c66883723647fce77e42fe7898615a7af1e4971cd7a08403e349,ccd544ce9afdac1584e4ce9440b7e1a9dc4a8c5f4bc8c66883723647fce77e42fe7898615a7af1e4971cd7a08403e350
amountstringOptional

Used to support partial exits after staking pools (in uint256).

Example: 32000000000
Responses
200

Successful operation

get
/quote/unstake

Gets the metadata associated with a given NFT.

GET Gets the metadata associated with a given NFT.

Base URL : xxx

Last updated

Was this helpful?