Find a blockchain
https://api.coinranking.com/v2/blockchain/:name
Parameter | Description |
---|---|
blockchain String | Name of the blockchain you want to request. You can find a list of all possible values by making a request to blockchains endpoint. |
jsonHTTP/1.1 200 OK
{
"status": "success",
"data": {
"blockchain": {
"name": "ethereum",
"totalCoins": 2
}
}
}
}
Property | Description |
---|---|
status String | Status of the request Allowed values:success |
data Object | |
data.blockchain Object | |
data.blockchain.name String | Name of the blockchain |
data.blockchain.totalCoins Number/null | Amount of coins listed for this blockchain |
jsonHTTP/1.1 404 Not Found
{
"status": "fail",
"type": "BLOCKCHAIN_NOT_FOUND",
"message": "Blockchain not found. Find a list of possible values at https://api.coinranking.com/v2/blockchains"
}