Prepare mandate limits
prepare_mandate_set_limitsSet an account's limits and, optionally, the markets it may use with a cap for each. Refuses a minimum ratio at or below any market's own minimum. Binds session keys, not the owner. Returns UNSIGNED transaction data for the owner's own wallet; simulated first and refused if it would revert. Never signs or sends.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Mandate account address (0x...) | |
| marketCaps | No | ||
| mintBudget | Yes | Total value one session may mint over its life, in USDG as a decimal string, e.g. "11" or "25.5" | |
| maxActionSize | Yes | Largest single action. Nothing above this runs, approved or not, in USDG as a decimal string, e.g. "11" or "25.5" | |
| approvalThreshold | Yes | Above this, the owner must approve the exact action, in USDG as a decimal string, e.g. "11" or "25.5" | |
| totalCollateralCap | Yes | Total collateral across all markets, in USDG as a decimal string, e.g. "11" or "25.5" | |
| minCollateralRatioPct | Yes | Minimum ratio after a risk-increasing action, as a percentage, e.g. "250" |