Goldmine
Contracts

List contract IDs in a workspace.

POST
/contracts.v1.Contracts/ListContracts

Returns a paged list of contract IDs in the workspace. Use GetContract or GetContracts to hydrate the full records. Supports filtering by contract type (buying vs selling).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/contracts.v1.Contracts/ListContracts" \  -H "Content-Type: application/json" \  -d '{    "workspaceId": "AAECAwQFBgcICQoLDA0ODw==",    "limit": 50,    "cursor": "",    "type": "CONTRACT_TYPE_BUYING"  }'

{
  "contractIds": [
    "EBESExQVFhcYGRobHB0eHw=="
  ],
  "nextCursor": ""
}

Empty