code: def get_metadata(address=None, tx_hash=None, block_hash=None, api_key=None, private=True, coin_symbol='btc'):
      '''
      Get metadata using blockcypher's API.
  
      This is data on blockcypher's servers and not embedded into the bitcoin (or other) blockchain.
      '''
      assert is_valid_coin_symbol(coin_symbol), coin_symbol
      assert api_key or not private, 'Cannot see private metadata without an API key'
  
      kwarg = get_valid_metadata_identifier(
          coin_symbol=coin_symbol,
          address=address,
          tx_hash=tx_hash,
          block_hash=block_hash,
          )
  
      url = make_url(coin_symbol, meta=True, **kwarg)
  
      params = {'token': api_key} if api_key else {'private': 'true'}
  
      r = requests.get(url, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
      response_dict = get_valid_json(r)
  
      return response_dicf get_metadata(address=None, tx_hash=None, block_hash=None, api_key=None, private=True, coin_symbol='btc'):
      '''
      Get metadata using blockcypher's API.
  
      This is data on blockcypher's servers and not embedded into the bitcoin (or other) blockchain.
      '''
      assert is_valid_coin_symbol(coin_symbol), coin_symbol
      assert api_key or not private, 'Cannot see private metadata without an API key'
  
      kwarg = get_valid_metadata_identifier(
          coin_symbol=coin_symbol,
          address=address,
          tx_hash=tx_hash,
          block_hash=block_hash,
          )
  
      url = make_url(coin_symbol, meta=True, **kwarg)
  
      params = {'token': api_key} if api_key else {'private': 'true'}
  
      r = requests.get(url, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
      response_dict = get_valid_json(r)
  
      return response_dict
docs: Get metadata using blockcypher's API.
  
      This is data on blockcypher's servers and not embedded into the bitcoin (or other) blockchain.