Liquid Staking

Stake SUI and receive afSUI to earn a reliable yield, and hold the most decentralized staking derivative on Sui.

afSUI SDK

const staking = new Aftermath("TESTNET").Staking();

Transactions

Staking Positions

const stakingPositions = await staking.getStakingPositions({
    walletAddress: "0x..",
});

Stake

const tx = await staking.getStakeTransaction({
    walletAddress: "0x..",
    suiStakeAmount: 1_000_000_000n, // 1 Sui
    validatorAddress: "0x..",
});

Unstake

const tx = await staking.getUnstakeTransaction({
    walletAddress: "0x..",
    afSuiUnstakeAmount: 1_000_000_000n, // 1 AfSui
    isAtomic: true,
});

Inspections

Staked SUI TVL

afSUI Exchange Rate

afSUI API

Transaction Command Examples