useEmailAccountBalance
Hook for getting balance info of connected email account.
function useEmailAccountBalance(): UseAccountBalanceResult;
💡
If you are not concerned about which type of account is being used, you can use useAccountBalance instead.
Usage
import { useEmailAccountBalance } from "@crossbell/connect-kit";
function App() {
const balance = useEmailAccountBalance();
return <div>{balance ? balance.balance.formatted : "No Balance Info"}</div>;
}