Skip to main content
GET
Try Cobo WaaS Skill in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster 🚀

Authorizations

BIZ-API-KEY
string
header
required

The API key. For more details, refer to API key.

In the API playground, enter your API secret, and your API key will be accordingly calculated.

Query Parameters

pool_id
string

The ID of the staking pool. A staking pool is a pairing of a staking protocol and a specific type of token. You can call List staking pools to retrieve a list of staking pools.

statuses
string

The statuses of the staking amounts, separated by comma. Possible values include:

  • StakeInProgress: The staking request is submitted and is waiting to be confirmed by the staking protocol.
  • Active: The amount has been staked.
  • Rejected: The staking request has been rejected because the signer refuses to sign the transaction.
  • LimitExceeded: The total staking cap of the staking protocol has been reached.
  • Invalid: The staking request is invalid. This is often due to the failure to broadcast the transaction.
  • UnstakeInProgress: The unstaking request is submitted and is waiting to be confirmed by the staking protocol.
  • Withdrawable: The tokens have been unstaked and are ready to be withdrawn.
  • WithdrawInProgress: The withdrawal request is submitted and is waiting to be confirmed on the chain network.
  • Closed: The staking position is closed.
wallet_id
string<uuid>

The wallet ID.

token_id
string

The token ID, which is the unique identifier of a token. You can retrieve the IDs of all the tokens you can use by calling List enabled tokens.

limit
integer<int32>
default:10

The maximum number of objects to return. For most operations, the value range is [1, 50].

before
string

A cursor indicating the position before the current page. This value is generated by Cobo and returned in the response. If you are paginating forward from the beginning, you do not need to provide it on the first request. When paginating backward (to the previous page), you should pass the before value returned from the last response.

after
string

A cursor indicating the position after the current page. This value is generated by Cobo and returned in the response. You do not need to provide it on the first request. When paginating forward (to the next page), you should pass the after value returned from the last response.

Response

A list of staking positions has been successfully retrieved.

data
object[]
pagination
object

The pagination information of the returned data.