Authorizations
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
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.
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.
The wallet ID.
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.
The maximum number of objects to return. For most operations, the value range is [1, 50].
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.
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.