| command | Operation to perform. 22 commands across 8 categories: Lending: supply, withdraw, borrow, repay, repay-with-atokens. Position: set-collateral, set-emode, swap-borrow-rate. Liquidation: liquidate. Flash Loans: flash-loan. Read: get-position, get-reserve-data, get-user-reserve,
get-reserves-list, get-asset-price, get-reserve-config,
get-emode-data.
Governance: get-proposal, get-voting-power. Rewards: get-rewards-balance, claim-rewards. Testnet: faucet-mint.
| yes | — |
| network | Blockchain network (ethereum, polygon, arbitrum, optimism, base, avalanche, bnb, gnosis, scroll, metis, zksync, polygon-zkevm, ethereum-sepolia)
| yes | — |
| asset | ERC-20 token address | no | — |
| amount | Amount in token base units (e.g., 1000000 for 1 USDC) | no | — |
| user | User/wallet address for queries or liquidation target | no | — |
| to | Recipient address for withdraw or claim-rewards | no | — |
| on-behalf-of | Address to supply/borrow/repay on behalf of | no | — |
| rate-mode | Interest rate mode: "stable" or "variable" (default: variable) | no | variable |
| referral-code | Aave referral code (default: 0) | no | 0 |
| value | Boolean value for set-collateral (true/false) | no | — |
| category-id | E-mode category ID (0 = disabled) | no | — |
| collateral-asset | Collateral token address for liquidation | no | — |
| debt-asset | Debt token address for liquidation | no | — |
| receive-atoken | Receive aTokens instead of underlying on liquidation (true/false) | no | false |
| proposal-id | Governance proposal ID | no | — |
| block-number | Block number for voting power query | no | — |
| assets | Comma-separated list of aToken/debt token addresses for rewards | no | — |
| reward | Reward token address | no | — |
| receiver | Flash loan receiver contract address | no | — |
| params | Encoded bytes data passed to flash loan receiver | no | 0x |