Vaults

Check vault whitelist status

Check if an address is whitelisted on the vault's credit strategy contract (requires authentication)

get/v3/vaults/{id}/whitelist-check

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/vaults/{id}/whitelist-check
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://clerk.creditcoop.xyz/oauth/authorize, token URL https://clerk.creditcoop.xyz/oauth/token)

Path parameters

idstring uuid required

Vault ID. Example: 550e8400-e29b-41d4-a716-446655440000

Query parameters

addressstring required

The address to check for whitelisting. Example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045

Response

Default Response

vaultIdstring uuid required

Vault ID

vaultAddressstring required

Vault contract address

networkIdstring required

CAIP-2 network identifier

addressstring required
isWhitelistedboolean required

Example response

{
  "vaultId": "550e8400-e29b-41d4-a716-446655440000",
  "vaultAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "networkId": "eip155:1",
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}

Changes

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