Skip to content

useAccountInfo

useAccountInfo(props?): UseQueryResult<AccountInfoResult, Error>

Defined in: packages/iso-filecoin-synapse/src/hooks/payments/index.ts:47

Get the account info from the payments contract.

ParameterTypeDescription
props?UseAccountInfoPropsThe props for the balance.

UseQueryResult<AccountInfoResult, Error>

The account info including funds, lockup details, and available balance.