Get staked tokens by wallet address
GEThttps://api.fuse.io/api/v0/staking/staked_tokens/:accountAddress
Retrieves information about tokens staked by a specific wallet address.
Request
Path Parameters
accountAddress stringrequired
The wallet address to query staked tokens for.
Query Parameters
apiKey stringrequired
Your API key to authenticate requests.
Responses
- 200
- 403
Staked tokens information for the specified wallet address.
- application/json
- Schema
- Example (from schema)
Schema
totalStakedAmountUSD number
totalEarnedAmountUSD number
stakedTokens object[]
{
"totalStakedAmountUSD": 0,
"totalEarnedAmountUSD": 0,
"stakedTokens": [
{
"tokenAddress": "string",
"tokenSymbol": "string",
"tokenName": "string",
"tokenLogoURI": "string",
"unStakeTokenAddress": "string",
"stakingProviderId": "string",
"expired": true,
"stakingApr": 0,
"tvl": 0
}
]
}
Access to the resource is forbidden.
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage string
error string
{
"statusCode": 0,
"errorMessage": "string",
"error": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://api.fuse.io/api/v0/staking/staked_tokens/:accountAddress' \
-H 'Accept: application/json'
ResponseClear