Welcome
Guides
- Fetch Balances and Transfers
- Funds Transfers
- Copper Network
- ClearLoop
- Copper Unlimited Online
- Fees Vaults
- DeFi
- Staking
- Webhooks
Staking
Get pending stakes
GET
/
staking
/
pending-stakes
Copy
curl --request GET \
--url https://api.copper.co/platform/staking/pending-stakes
Copy
{
"pendingStakes": [
{
"createdAt": "<string>",
"currency": "<string>",
"depositTargetId": "<string>",
"mainCurrency": "<string>",
"organizationId": "<string>",
"pendingStake": {
"canBeRebonded": true,
"canBeUnstaked": true,
"originPool": {
"extra": {
"netuid": "<string>"
},
"poolId": "<string>",
"poolName": "<string>",
"totalBonded": "<string>"
},
"pendingAmount": "<string>",
"pendingEndsAt": "<string>",
"pendingStakeStatus": "unbonding",
"pool": {
"extra": {
"netuid": "<string>"
},
"poolId": "<string>",
"poolName": "<string>",
"totalBonded": "<string>"
},
"pools": [
{
"extra": {
"netuid": "<string>"
},
"poolId": "<string>",
"poolName": "<string>",
"totalBonded": "<string>"
}
],
"requireChillToUnstake": true,
"stakeAddress": "<string>",
"warning": {
"code": "<string>",
"message": "<string>"
}
},
"pendingStakeId": "<string>",
"portfolioId": "<string>",
"updatedAt": "<string>"
}
]
}
Query Parameters
Return stakes only for specific portfolio
Filter by the staked currency
Filter by the main currency (blockchain network) for staking
Limit for pagination
Offset for pagination
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request GET \
--url https://api.copper.co/platform/staking/pending-stakes
Copy
{
"pendingStakes": [
{
"createdAt": "<string>",
"currency": "<string>",
"depositTargetId": "<string>",
"mainCurrency": "<string>",
"organizationId": "<string>",
"pendingStake": {
"canBeRebonded": true,
"canBeUnstaked": true,
"originPool": {
"extra": {
"netuid": "<string>"
},
"poolId": "<string>",
"poolName": "<string>",
"totalBonded": "<string>"
},
"pendingAmount": "<string>",
"pendingEndsAt": "<string>",
"pendingStakeStatus": "unbonding",
"pool": {
"extra": {
"netuid": "<string>"
},
"poolId": "<string>",
"poolName": "<string>",
"totalBonded": "<string>"
},
"pools": [
{
"extra": {
"netuid": "<string>"
},
"poolId": "<string>",
"poolName": "<string>",
"totalBonded": "<string>"
}
],
"requireChillToUnstake": true,
"stakeAddress": "<string>",
"warning": {
"code": "<string>",
"message": "<string>"
}
},
"pendingStakeId": "<string>",
"portfolioId": "<string>",
"updatedAt": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.