Deeplinking

Yields

In order to open the StakeKit widget to a particular asset or yield opportunity, please use the below deeplink template. This link format can be utilized to open up directly to any of the available assets.

Template:

[https://dapp.stakek.it/?embed=true&network=cosmos&token={TOKEN_SYMBOL}&yieldId={YIELD_ID}]

Examples:

ATOM Native Staking

[https://dapp.stakek.it/?embed=true&network=cosmos&token=ATOM&yieldId=cosmos-atom-native-staking]

RocketPool rETH Liquid Staking

[https://dapp.stakek.it/?embed=true&network=ethereum&token=ETH&yieldId=ethereum-eth-reth-staking]

Pending Actions

Our approach behind Pending Actions is to hide the complexities that exist across various staking integrations. Pending Actions are transactions that need to be signed by the end users' wallets to change the status of their position. These position status changes can range from claiming a pending staking reward to withdrawing funds once a delegation period has ended.

For "Claim Rewards", "Withdraw", "Unlock Locked", and other common actions taken towards a staked position, the below deeplink template can be used to open the StakeKit Dapp for the end user to perform the action. You will need to include the Pending Action enum together with the Yield ID and validator address (if the balance is a validator balance).

Template:

[https://dapp.stakek.it/?embed=true&network=cosmos&token={TOKEN_SYMBOL}&yieldId={YIELD_ID}&pendingaction={ACTION_TYPE}&validatoraddress={ADDRESS}]

Examples:

ATOM - "Restake" Pending Action on a Ledger validator position

[https://dapp.stakek.it/?embed=true&network=cosmos&token=ATOM&yieldId=cosmos-atom-native-staking&pendingaction=restake_rewards&validatoraddress=cosmosvaloper10wljxpl03053h9690apmyeakly3ylhejrucvtm]

NEAR - "Withdrawal" Pending Action on a Figment validator position

[https://dapp.stakek.it/?embed=true&network=near&token=NEAR&yieldId=cosmos-atom-native-staking&pendingaction=withdraw&validatoraddress=cosmosvaloper10wljxpl03053h9690apmyeakly3ylhejrucvtm]

MATIC - "Withdrawal" Pending Action on a Lido liquid staking position

[https://dapp.stakek.it/?embed=true&network=ethereum&token=MATIC&yieldId=ethereum-matic-liquid-staking&pendingaction=withdraw]

🗒️

Note: If the position does not include a validator, simply skip that portion of the template.

Available pending actions per yield integration

Pending Actions

export enum ActionTypes {  
 STAKE = 'STAKE',  
 UNSTAKE = 'UNSTAKE',  
 CLAIM_REWARDS = 'CLAIM_REWARDS',  
 RESTAKE_REWARDS = 'RESTAKE_REWARDS',  
 WITHDRAW = 'WITHDRAW',  
 RESTAKE = 'RESTAKE',  
 CLAIM_UNSTAKED = 'CLAIM_UNSTAKED',  
 UNLOCK_LOCKED = 'UNLOCK_LOCKED',  
 UNLOCK_LOCKED_LEGACY = 'UNLOCK_LOCKED_LEGACY',  
 STAKE_LOCKED = 'STAKE_LOCKED',  
}

Celo Native Staking

 WITHDRAW
 UNLOCK_LOCKED,  
 STAKE_LOCKED

Benqi sAVAX Liquid Staking

CLAIM_UNSTAKED
RESTAKE

ApeCoin Native Staking

CLAIM_REWARDS

Lido stETH Liquid Staking

CLAIM_UNSTAKED

The Graph Native Staking

WITHDRAW

Lido stMATIC Liquid Staking

WITHDRAW

Polygon Native Staking

WITHDRAW  
CLAIM_REWARDS

Compound V3

CLAIM_REWARDS

Harmony One Native Staking

CLAIM_REWARDS

Near Native Staking

WITHDRAW

Solana Native Staking

 WITHDRAW

Lido stSOL Liquid Staking

WITHDRAW

Cosmos Native Staking

CLAIM_REWARDS
RESTAKE_REWARDS