Lending & Borrowing
API Endpoints Documentation
GET Requests
Enter Market Status
Endpoint: /enter-market-status
Retrieves the current market status and relevant details.
Get Asset Info
Endpoint: /get-asset-info
Provides detailed information about a specific asset within the platform.
Get Claimed Rewards
Endpoint: /get-claimed-rewards
Returns the list of rewards that have already been claimed by the user.
Get Governor Data
Endpoint: /get-governor-data
Gathers data regarding the current governor settings and configurations.
Get Max Amounts
Endpoint: /get-max-amounts
Fetches the maximum permissible values for relevant financial parameters.
Get Pool
Endpoint: /get-pool
Obtains specific pool data, useful for insight into liquidity status.
Get Pools
Endpoint: /get-pools
Returns a list of all available pools on the platform along with their current status.
Get User Account Data
Endpoint: /get-user-account-data
Provides detailed account information specific to the user.
Get User Positions
Endpoint: /get-user-positions
Retrieves current user positions across various investments and pools.
POST Requests
Allow
Endpoint: /allow
Enables authorization for specified actions or transactions on the platform.
Borrow
Endpoint: /borrow
Permits the user to initiate a borrowing request under predefined terms.
Bundle Actions
Endpoint: /bundle-actions
Allows users to execute multiple actions in a single, bundled transaction.
Claim Rewards
Endpoint: /claim-rewards
Facilitates the claiming of eligible rewards accrued through platform activities.
Deposit
Endpoint: /deposit
Initiates a deposit transaction for specified assets into the user account.
Enter Market
Endpoint: /enter-market
Allows the user to opt into a specific market, enabling trading activities.
Exit Isolation Mode
Endpoint: /exit-isolation-mode
Removes user account from isolation, thereby allowing normal operations.
Exit Market
Endpoint: /exit-market
Allows users to withdraw from a market, ceasing any further trading activities.
Migrate
Endpoint: /migrate
Facilitates the migration of assets or account settings to a new protocol or framework.
Repay
Endpoint: /repay
Enables users to repay borrowed amounts back to the platform or protocol.
Set User E-Mode
Endpoint: /set-user-e-mode
Configures the user-specific e-mode settings, altering experience or capabilities.
Transfer
Endpoint: /transfer
Allows for secure asset transfer between users or accounts within the platform.
Withdraw
Endpoint: /withdraw
Initiates the withdrawal of assets from the platform, returning them to the user.
Last updated