def send_hash_list(chat_id: str): return Rest.get(BASE_API_URL + "/user/get/hashlist/" + chat_id)
def get_anon_hash(chat_id: str): return Rest.get(BASE_API_URL + "/user/get/anonhash/" + chat_id)
def add_anon_hash(chat_id: str, data: object): return Rest.post(BASE_API_URL + "/user/form/anonhash/" + chat_id, data)
def get_transactions(address: str, contract: str): return Rest.get(BCS_API_URL + '/address/' + address + '/contract-txs/' + contract)
def check_address_exists(address: str): return Rest.get(BASE_API_URL + "/address/" + address)
def get_person_hash(chat_id: str): return Rest.get(BASE_API_URL + "/user/used/person/" + chat_id)
def get_address_contract(): return Rest.get(BASE_API_URL + '/user/address/')
def update_user(chat_id: str, data: object): return Rest.put(BASE_API_URL + '/user/' + chat_id, data)
def get_user_transaction(chat_id: str): return Rest.get(BASE_API_URL + '/user/transaction/' + chat_id)
def get_user(chat_id: str): print(BASE_API_URL + '/user/' + chat_id) return Rest.get(BASE_API_URL + '/user/' + chat_id)
def create_user(chat_id: str, data: object): print(BASE_API_URL + '/user/' + chat_id, data) return Rest.post(BASE_API_URL + '/user/' + chat_id, data)
def get_users(): return Rest.get(BASE_API_URL + '/users')
def get_user_hash(chat_id: str): return Rest.get(BASE_API_URL + '/user/hash/' + chat_id)
def form_user_hash(chat_id: str, data: object): return Rest.post(BASE_API_URL + '/user/formhash/' + chat_id, data)
def get_used_private(chat_id: str): return Rest.get(BASE_API_URL + "/user/used/hash/" + chat_id)
def update_user_transaction(chat_id: str, data: object): return Rest.put(BASE_API_URL + '/user/transaction/' + chat_id, data)
def send_used_private(chat_id: str, data: object): return Rest.post(BASE_API_URL + "/user/add/hash/" + chat_id, data)
def delete_user_transaction(chat_id: str): return Rest.delete(BASE_API_URL + "/user/transaction/" + chat_id)
def put_person_hash(chat_id: str, data: object): return Rest.post(BASE_API_URL + "/user/add/person/" + chat_id, data)
def get_api_balance(address: str, contract: str): return Rest.get(BCS_API_URL + '/address/' + address + '/contract-txs/' + contract)