Function useClient

Returns the current ISpyreClient implementaion.

const client = useClient();
await client.account.refresh();