Vault Epochs

Create a vault epoch

Create a deposit-window epoch for a vault. Requires admin role for the vault's organization.

post/v3/vaults/{vaultId}/epochs

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/vaults/{vaultId}/epochs
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)

Path parameters

vaultIdstring uuid required

Request body

epochNumberinteger required
targetSizestring

Smallest-unit non-negative integer string (max 78 digits — numeric(78,0)); omit for uncapped

state'upcoming' | 'open' | 'closed'

Changes

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