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 ID of the Phase-1 BTC staking position.
The type of the staking activity. Possible values include:
Stake
: Stake tokens.Unstake
: Unstake tokens. Unstaked tokens are still in the staking protocol.Withdraw
: Withdraw tokens from the staking protocol to your wallet.Claim
: Claim rewards from the staking protocol.
Stake
, Unstake
, Withdraw
, Claim
"Stake"
The status of the staking activity. Possible values include:
Success
: The activity is successfully completed.Processing
: The activity is being processed.Failed
: The activity has failed.
Success
, Processing
, Failed
"Success"
The start time of the query. All staking activities updated after the specified time will be retrieved. The time is in Unix timestamp format, measured in milliseconds.
The end time of the query. All staking activities updated before the specified time will be retrieved. The time is in Unix timestamp format, measured in milliseconds.
The activity initiator, which is your API key by default. You can also specify the initiator when creating the activity.
The request ID that is used to track a transaction request. The request ID is provided by you and must be unique within your organization.
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.