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.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
props? | UseAccountInfoProps | The props for the balance. |
Returns
Section titled “Returns”UseQueryResult<AccountInfoResult, Error>
The account info including funds, lockup details, and available balance.