Retrieve BTC Staking Status
GEThttps://staking-api.coredao.org//staking/btc/status
Retrieve BTC staking status on the Core chain using a transaction ID.
Request
Query Parameters
txId stringrequired
The transaction ID for which the BTC staking status is requested.
Responses
- 200
- 400
BTC staking status retrieved successfully.
- application/json
- Schema
- Example (auto)
Schema
codestring
Status code indicating the result of the operation.
messagestring
Additional information or message about the response.
data object
{
"code": "string",
"message": "string",
"data": {
"status": 0,
"confirmedTxHash": "string",
"confirmTimestamp": 0
}
}
Invalid transaction ID or an error occurred while retrieving the staking status.
- application/json
- Schema
- Example (auto)
Schema
codestring
Error code indicating the result of the operation.
messagestring
Error message explaining the issue.
{
"code": "string",
"message": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
ResponseClear