Skip to main content

Before you start

Use your API key to list the gVaults available to your organization. Contact Ground to enable production access. The examples use sandbox. For production, use https://production.groundtech.co and your production API key.

1. List your gVaults

Keep your API key on your backend:
The response lists your available gVaults:
If data is empty in sandbox, retry while setup completes. Contact Ground if your gVaults remain unavailable. If production access is disabled, the API returns 403:
Use the values returned by your request:

2. Read the current fees and limits

Set GVAULT_ID to your gVault’s returned id:
fees shows your current settings. feeUpdate tracks the latest fee update and is null before your first update. Management fees accrue over time at an annual rate. Performance fees apply to gains above the contract’s high-water mark, the recorded share-value threshold for charging that fee. Both accrue as shares to your fee recipient. Rates use percentages: 1 means 1%. The maximum rates are fixed when your gVault is deployed:
  • Your maximum management rate is maxManagementFeePct - groundManagementFeePct. The combined rate must remain below 100%.
  • Your performance rate cannot exceed maxPerformanceFeePct.
For example, if maxManagementFeePct is 99.99% and Ground’s fee is 0.10%, you can charge up to 99.89% per year in management fees. Ground configures its management fee separately. The request below changes only your fees. Ground-initiated fee changes also require your configured signer approvals once signing is enabled.

3. Configure your fees

Set FEE_RECIPIENT_ADDRESS to the nonzero address that should receive your fee shares. It must differ from Ground’s recipient when either of your fees is greater than zero. This example sets your annual management fee to 0.20% and your performance fee to 15%:
Send only the fields you want to change. Set a rate to 0 to stop charging it. Omitted fields keep their current values. Fee changes execute automatically until signer approvals are enabled. After that, your configured signers must approve each update in both sandbox and production. A 202 response means the update is still processing, needs approval or is waiting for confirmation. Check status to see what happens next. For example, awaiting_approval means your signers need to approve:
For awaiting_approval, fetch the matching activity from GET /v3/approvals/pending. Verify the requested fees, then use your registered signing key with the approval API. A 200 response with status: confirmed means your requested fees are already in effect.

Change your fee recipient

To change only the recipient, send feeRecipientAddress:
Your management and performance fees use the same recipient. Both rates stay unchanged. Shares already earned remain with the original recipient, who can redeem them onchain.

4. Confirm your update

After a 202 response, poll GET /v3/gvaults/{gVaultId} or use fee status webhooks:
While your update is pending, fees shows the current settings and feeUpdate.requestedFees shows the changes you requested:
Wait for feeUpdate.status to become confirmed, then check that fees matches your request. In this example, managementFeePct becomes 0.2, performanceFeePct becomes 15 and totalManagementFeePct becomes 0.3. Wait for confirmation before sending another update.

Resolve an incomplete update

Contact Ground if the update cannot be resolved.

Next step

Admit customer wallets, then integrate deposits and withdrawals.