Marginfi account group address
Create a new marginfi account under the authority of the user.
MarginfiAccount instance
Retrieves the addresses of all marginfi accounts in the underlying group.
Account addresses
Retrieves the addresses of all accounts owned by the marginfi program.
Account addresses
Retrieves all marginfi accounts under the specified authority.
MarginfiAccount instances
Create transaction instruction to create a new marginfi account under the authority of the user.
transaction instruction
MarginfiClient factory
Fetch account data according to the config and instantiate the corresponding MarginfiAccount.
marginfi config
User wallet (used to pay fees and sign transactions)
Solana web.js Connection object
Solana web.js ConfirmOptions object
MarginfiClient instance
Generated using TypeDoc
Entrypoint to interact with the marginfi contract.