code: def subscribe_to_wallet_webhook(callback_url, wallet_name,
          event='tx-confirmation', coin_symbol='btc', api_key=None):
      '''
      Subscribe to transaction webhooks on a given address.
      Webhooks for transaction broadcast and each confirmation (up to 6).
  
      Returns the blockcypher ID of the subscription
      '''
      assert is_valid_coin_symbol(coin_symbol)
      assert is_valid_wallet_name(wallet_name), wallet_name
      assert api_key, 'api_key required'
  
      url = make_url(coin_symbol, 'hooks')
  
      params = {'token': api_key}
      data = {
          'event': event,
          'url': callback_url,
          'wallet_name': wallet_name,
      }
  
      r = requests.post(url, json=data, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
      response_dict = get_valid_json(r)
      return response_dict['id'f subscribe_to_wallet_webhook(callback_url, wallet_name,
          event='tx-confirmation', coin_symbol='btc', api_key=None):
      '''
      Subscribe to transaction webhooks on a given address.
      Webhooks for transaction broadcast and each confirmation (up to 6).
  
      Returns the blockcypher ID of the subscription
      '''
      assert is_valid_coin_symbol(coin_symbol)
      assert is_valid_wallet_name(wallet_name), wallet_name
      assert api_key, 'api_key required'
  
      url = make_url(coin_symbol, 'hooks')
  
      params = {'token': api_key}
      data = {
          'event': event,
          'url': callback_url,
          'wallet_name': wallet_name,
      }
  
      r = requests.post(url, json=data, params=params, verify=True, timeout=TIMEOUT_IN_SECONDS)
      response_dict = get_valid_json(r)
      return response_dict['id']
docs: Subscribe to transaction webhooks on a given address.
      Webhooks for transaction broadcast and each confirmation (up to 6).
  
      Returns the blockcypher ID of the subscription