Skip to main content
Borrow from a hub-asset market against collateral on the same account’s spoke. Borrowing lets you:
  • Open scaled debt that accrues borrow interest
  • Receive tokens to to or the caller
  • Stay solvent under LTV and health-factor gates
Post-borrow health factor must stay at or above 1 WAD. Every priced asset on the account must resolve a valid price, or the call reverts.

Borrowing

  1. Open or select an account with eligible collateral
  2. Choose borrowable HubAssetKey listings on that spoke
  3. Size the borrow under caps, liquidity, and HF
  4. Call borrow

Call shape

to only changes where the tokens land. The debt is always booked to account_id, whoever receives the funds.

Preconditions

  • caller holds the account’s position NFT, or is an active delegate on it. (A delegate must be an address governance already approved as a position manager — it is not a separate authority level.)
  • The spoke lists the asset and marks it borrowable, and the listing is not blocking entry.
  • The spoke’s borrow cap, the market’s cash, and its max-utilization ceiling all leave headroom.
  • After the borrow: the LTV gate holds, health factor stays at or above 1e18, and LTV-weighted collateral stays above the minimum-borrow floor.
  • Every priced asset on the account resolves a valid price. A stale or disagreeing feed reverts the whole call.

Common errors

Caps are set per spoke, not per market. The same market can have different borrow headroom depending on which spoke your account sits on.