Skip to main content

index/variables/DEFAULT_UNIQUE_KEY_PREFIX.md

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

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.