Récupérer le Dernier Round de Staking
GEThttps://staking-api.test2.btcs.network//staking/status/round
Renvoie le round actuel de la chaîne Core.
Request
Responses
- 200
- 400
Informations sur le dernier round récupérées avec succès.
- application/json
- Schema
- Example (auto)
Schema
statusinteger
Code d'état de la réponse.
messagestring
Informations supplémentaires ou message concernant la réponse.
result object
{
"status": 0,
"message": "string",
"result": {
"latestRound": 0
}
}
Une erreur s'est produite lors de la récupération du round de staking.
- application/json
- Schema
- Example (auto)
Schema
statusinteger
Code d'état de la réponse d'erreur.
messagestring
Message d'erreur expliquant le problème.
{
"status": 0,
"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