Skip to main content

ChainsSearchResponse

items object[]
  • Array [
  • chainNamestring

    Canonical chain name (prefers override over provider value).

    matchTypestring

    Possible values: [exact, prefix, contains, fuzzy]

    scorenumber<float>

    0..1 ranking score (exact=1.0, fuzzy uses pg_trgm similarity).

    masterChainIdstringnullable

    Bundleport-level canonical chain UUID. Present when the cross-provider consensus job has linked the members; absent when no master is assigned yet.

    providers object[]
  • Array [
  • providerCodestring
    Example: example
    chainCodestring
    Example: 2811
  • ]
  • ]
  • totalinteger

    Number of grouped items returned (after limit).

    suggestions object[]

    Present only when items is empty and mode=suggest (low-threshold trigram fallback).

  • Array [
  • chainNamestring
    scorenumber<float>
  • ]
  • ChainsSearchResponse
    {
    "items": [
    {
    "chainName": "string",
    "matchType": "exact",
    "score": 0,
    "masterChainId": "string",
    "providers": [
    {
    "providerCode": "example",
    "chainCode": "2811"
    }
    ]
    }
    ],
    "total": 0,
    "suggestions": [
    {
    "chainName": "string",
    "score": 0
    }
    ]
    }