The Staking API provides endpoints for managing token staking on the Fuse Network. Use it to discover available staking options with APR and TVL data, stake or unstake tokens from a wallet, and query the staked balances and earned rewards for any address. All staking actions return encoded contract call data that your application submits on-chain.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/fuseio/fuse-docs/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
All requests require a public API key passed as a query parameter:GET /staking_options
Returns all available staking options on Fuse Network, including token details, APR, TVL, and staking provider information.Request parameters
Your public API key.
Response
An array of staking option objects.Contract address of the token that can be staked.
Symbol of the stakeable token (e.g.,
FUSE).Full name of the stakeable token.
URL of the token’s logo image.
Contract address of the token received when unstaking (receipt token).
Unique identifier for the staking provider or contract.
Whether this staking option has expired and is no longer accepting new stakes.
Annual percentage rate for staking rewards, expressed as a decimal (e.g.,
0.12 for 12%).Total value locked in this staking option, in USD.
Example
POST /stake
Stakes a specified amount of tokens from a wallet. Returns the contract address and encoded ABI call data to submit on-chain.Request parameters
Your public API key.
Request body
The wallet address that will stake the tokens.
The amount of tokens to stake, in base units (before applying decimals).
The contract address of the token to stake. Use the
tokenAddress from the /staking_options response.Response
The staking contract address to send the transaction to.
The ABI-encoded call data for the staking transaction. Pass this as the
data field in the transaction.Example
After receiving the
contractAddress and encodedABI, submit the transaction from your application using your Web3 provider. The accountAddress must have sufficient token balance to complete the stake.POST /unstake
Unstakes a specified amount of previously staked tokens and returns them to the wallet. Returns encoded contract call data.Request parameters
Your public API key.
Request body
The wallet address that holds the staked tokens.
The amount of staked tokens to withdraw, in base units.
The contract address of the original staked token.
Response
The staking contract address to send the unstake transaction to.
The ABI-encoded call data for the unstaking transaction.
Example
GET /staked_tokens/
Returns the staking summary for a specific wallet address, including total value staked, total earned rewards, and per-token staking details.Request parameters
Your public API key.
The wallet address to query staked token information for.
Response
Total value of all staked tokens for this address, denominated in USD.
Total value of staking rewards earned by this address, denominated in USD.
Array of staking option objects representing each active stake. Each object has the same structure as entries in the
/staking_options response, with the addition of the staked balance.Token contract address.
Token symbol.
Token name.
Annual percentage rate for rewards.
Total value locked in this staking option.
Staking provider identifier.
Whether this staking option has expired.
Example
Error responses
HTTP status code of the error.
Human-readable error description.
Short error code.
| Status | Meaning |
|---|---|
| 403 | Forbidden — invalid or missing API key |