Partner

Build the unsigned batch that fully unwinds an open equity vault

post/v1/partner/equity/exit/build

Request

  • Base URL: https://api.spiralstake.xyz
  • URL: https://api.spiralstake.xyz/v1/partner/equity/exit/build
  • Auth: HTTP bearer

Request body

strategyIdstring required

The vault's id ('equity-0x…').

userAddressstring required

Wallet that owns the vault and will sign.

yieldPositionIdsinteger[]

The yield loop id(s) to close with the stock leg. Optional when the vault's yieldLoopMatch is unambiguous; required when it is 'ambiguous'. Nothing outside this list is closed.

slippagenumber

Ratio, default 0.01, capped at 0.01.

chainId4663

Response

Unsigned call batch

chainIdinteger required
action'equity_deposit' | 'equity_exit' required
strategyIdstring required
atomictrue required

Changes

No recorded changes to this operation across all 1 revision of this API.