Skip to main content

Variable: DEFAULT\_UNIQUE\_KEY\_PREFIX

GalaChain core SDK 1.0.0-rc.8


GalaChain core SDK 1.0.0-rc.8 / index / DEFAULT_UNIQUE_KEY_PREFIX

Variable: DEFAULT_UNIQUE_KEY_PREFIX

const DEFAULT_UNIQUE_KEY_PREFIX: "galaswap-operation-" = "galaswap-operation-"

Defined in: packages/gala-core-sdk/dist/index.d.ts:2247

The uniqueKey prefix the Gala Wallet and the gSwap web app have always sent (galaswap-operation-<uuid>). The backend does not depend on it: the chain-write verifier only requires a non-empty key of at most 256 characters, and apply-results accepts [A-Za-z0-9._:-]{1,128}; the only code that mints a prefixed key itself is the server-side v1 trade builder, which nothing reads back by prefix.