Get the core account IDs owned by an address. Fetches the account IDs for the given address by checking the balance of the AccountProxy contract, which is an NFT owned by the address. If no address is provided, uses the connected wallet address.
The address to get accounts for. Uses connected address if not provided.
The default account ID to set after fetching.
A list of account IDs owned by the address
Get the available collateral for an account for a specified collateral type
of token_address
Fetches the amount of undelegated collateral available for withdrawal
for a given token and account.
The address of the collateral token
The ID of the account to check. Uses default if not provided.
The available collateral as an ether value.
Class for interacting with Synthetix V3 core contracts
Remarks