Skip to main content
PUT
Update target allocations
Set target allocations across yield sources and idle USDC. Targets must total 10,000 basis points.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Unique key for this intended change. Reuse it only when retrying the identical request.

Required string length: 1 - 200

Path Parameters

vaultId
string<uuid>
required

Ground identifier of the MicroVault. This is distinct from its onchain contract address.

Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
Example:

"8f4c52d7-62ab-4db9-a964-92f481f6b851"

Body

application/json
allocations
object[]
required

Yield-source target allocations. Include each source that should have a nonzero target.

idleTargetBps
integer
required

Target share of vault assets kept as unallocated base asset in basis points. This value plus all source targets must equal 10000.

Required range: 0 <= x <= 10000

Response

The operation was accepted.

task
object
required

Asynchronous change accepted for submission and onchain confirmation.

Example: