For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vaults

Preflight checks before creating a vault.

Run preflight checks for vault creation — validate inputs and surface any blockers before you send a createCollection transaction on-chain (see Locker).

get
Path parameters
chainstring · min: 1Required
Query parameters
collectionstringRequiredPattern: ^0x[a-fA-F0-9]{40}$
creatorstringOptionalPattern: ^0x[a-fA-F0-9]{40}$
Responses
200

Default Response

application/json
collectionstringRequiredPattern: ^0x[a-fA-F0-9]{40}$
chainIdinteger · min: -9007199254740991 · max: 9007199254740991Required
canCreatebooleanRequired
existingCollectionbooleanRequired
totalSupplystring · nullableRequiredPattern: ^(0|[1-9][0-9]*)$
reasonsstring[]Required
get/v1/{chain}/vaults/preflight
GET /v1/{chain}/vaults/preflight?collection=text HTTP/1.1
Host: api.nftx.io
Accept: */*
{
  "collection": "text",
  "chainId": 1,
  "canCreate": true,
  "existingCollection": true,
  "totalSupply": "text",
  "reasons": [
    "text"
  ],
  "partial": [
    {
      "source": "text",
      "status": "ok",
      "reason": "text"
    }
  ]
}

Last updated

Was this helpful?