def METHOD_NAME(txsHash, offset=0):
  url = 'https://blockchain.info/multiaddr'
  call = requests.get(url, {'active': str(xpub), 'offset': offset})
  bytes = call.content
  text = bytes.decode('utf8')
  response = json.loads(text)
  for i in range(len(response['txs'])) :
    txsHash.append(response['txs'][i]['hash'])
  if i == 49:
    offset += 50
    return METHOD_NAME(txsHash, offset=offset)
  else:
    return txsHash