Skip to main content
Staking is available under private access. Contact us if you need access

Prerequisites

  • Ensure you have a wallet created.
  • API Key: Ensure you have an API key with the scopes: wallets:transactions.create.

Listing yields

List available yield opportunities for a wallet.

Parameters

string[]
The tokens to generate yield for.

Returns

Yield[]
The yields.

Staking

Stake to earn yield.

Parameters

string
The token locator to stake.
string
The amount to stake.

Returns

string
The hash of the transaction.
The explorer link of the transaction.

Unstaking

Unstake from the yield.

Parameters

string
The token locator to unstake.
string
The amount to unstake.

Returns

string
The hash of the transaction.
The explorer link of the transaction.