Block explorer link added to GET /assets

Release Details

Release date: Sep 12th, 2024

Release Type

Informational

Summary

Zero Hash is adding a helpful new field to the GET /assets endpoint: explorer_link. The value returned is a blockchain-specific explorer link. Platforms can use this to append transaction hash's on the end of it, which will allow their customers to view their on-chain transaction details straight from a block explorer.

Example API response:

{
    "message": [
        {
            "symbol": "AAVE.ETH",
            "name": "Aave",
            "chain_code": "ethereum",
            "type": "crypto",
            "model": "account_based",
            "withdrawal_minimum": "0",
            "stablecoin": false,
            "precision": 18,
            "tag_name": "none",
            "fee_asset": "ETH",
            "rfq_liquidity_enabled": false,
            "custody_enabled": false,
            "deposit_address_creation": "institutional_and_retail",
            "deposits_on_chain_confirms": 1,
            "ny_allowed": true,
            "contract_address": "",
            "fund_enabled": false,
            "depegged": false,
            "explorer_link": "https://etherscan.io/"
        }
   [   
}      

Action Required

N/a

Endpoints impacted