Skip to content

useAccountInfo

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

Defined in: packages/synapse-react/src/payments/index.ts:48

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.