Get blockchain details

Find a blockchain

https://api.coinranking.com/v2/blockchain/:name

Path parameters

ParameterDescription
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.

Code examples

Response

json
HTTP/1.1 200 OK { "status": "success", "data": { "blockchain": { "name": "ethereum", "totalCoins": 2 } } } }

Response fields

PropertyDescription
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

Error response

json
HTTP/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" }

Error responses