Credit Facilities

Get credit facility proposals

Get mutual consent proposals for a Credit Facility. Authentication is required.

get/v3/credit-facilities/{id}/proposals

Request

  • Base URL: https://api.creditcoop.xyz
  • URL: https://api.creditcoop.xyz/v3/credit-facilities/{id}/proposals
  • 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

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

Response

Default Response

facilityIdstring required

Credit Facility UUID

facilityAddressstring required

Credit facility contract address

networkIdstring required

CAIP-2 network identifier (e.g. eip155:8453)

Example response

{
  "facilityId": "550e8400-e29b-41d4-a716-446655440000",
  "facilityAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "networkId": "eip155:1",
  "open": [
    {
      "taker": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "parameters": {
        "lender": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "vaultCurator": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "vault": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "token": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "deadline": "2025-01-15T10:30:00Z"
      },
      "registeredAt": "2025-01-15T10:30:00Z"
    }
  ],
  "closed": [
    {
      "parameters": {
        "lender": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "vaultCurator": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "vault": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "token": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "deadline": "2025-01-15T10:30:00Z"
      },
      "registeredAt": "2025-01-15T10:30:00Z",
      "closedAt": "2025-01-15T10:30:00Z"
    }
  ],
  "revokedAllEvents": [
    {
      "timestamp": "2025-01-15T10:30:00Z"
    }
  ]
}

Changes

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