Skip to content

useBalance

useBalance(props): UseReadContractsReturnType<readonly [{ abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; args: [`0x${string}`]; functionName: "balanceOf"; }, { abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; functionName: "decimals"; }, { abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; functionName: "symbol"; }, { abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; args: [`0x${string}`, `0x${string}`]; functionName: "allowance"; }], false, { allowance: bigint; decimals: number; symbol: string; value: bigint; }>

Defined in: packages/iso-filecoin-synapse/src/hooks/erc20.ts:32

ParameterType
propsProps

UseReadContractsReturnType<readonly [{ abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; args: [`0x${string}`]; functionName: "balanceOf"; }, { abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; functionName: "decimals"; }, { abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; functionName: "symbol"; }, { abi: readonly [{ }, { }, { }, { }, { }, { }, { }, { }, { }, { }, { }]; address: `0x${string}`; args: [`0x${string}`, `0x${string}`]; functionName: "allowance"; }], false, { allowance: bigint; decimals: number; symbol: string; value: bigint; }>