Before you start
Discover your gVault and retain itsid
as GVAULT_ID. Use the customer address that will make the deposit and receive
the shares. Ground separately admits your gVault to the underlying vault during
setup; that permission does not admit individual customers to your contract.
1. Admit an address
200 response means the operation is confirmed; 202 means it is pending.
Retain the transaction hash when present and check access before enabling deposits.
2. Verify deposit access
allowed is true. For example:
3. Remove deposit access
allowed: false before treating removal as
effective. For organization gVaults, removal blocks new deposits without
freezing existing holdings or revoking the owner’s redemption rights. Freeze
controls and the underlying vault’s authorization can still restrict withdrawals.
Handle an incomplete change
After a timeout or temporary503, read access before retrying the request.
A 409 can indicate a conflicting active update; wait for it to finish before
requesting a different state. Check the address for 400 responses and use an
ID returned by your organization’s discovery for 404 responses. Contact Ground
if production returns 403 product_not_enabled or a transaction failure remains
unresolved.