<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def history(client: Client, pubkey: str) -> dict: """ Get transactions history of public key :param client: Client to connect to the api :param pubkey: Public key :return: """

    return await client.get(MODULE + '/history/%s' % pubkey, schema=HISTORY_SCHEMA)