Tell which chains know a hash and whether it is a block hash, transaction hash or address.
GET/hashtype/{hash}
- Takes: Crypto wallet
- Passive: the target is not contacted
Returns an empty result when the hash is not on a supported chain.
Path parameters
hashA transaction hash, block hash or address
Response fields · 1ShowHide
data
Maps chain names to a type: bh (block hash), tx (transaction hash), addr (address), pk (public key hash) or pid
curl 'https://services.tokenview.io/vipapi/hashtype/0000000000000000000000000000000000000000000000000000000000abcdef?apikey=YOUR_API_KEY'{
"data": {
"btc": "tx"
}
}