Skip to main content

Variable: SIGNING\_FAILURE\_REASONS

GalaChain core SDK 1.0.0-rc.8


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

Variable: SIGNING_FAILURE_REASONS

const SIGNING_FAILURE_REASONS: readonly ["user_rejected", "failed"]

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

Why a signer could not produce a signature (SIGNING_FAILED.params.reason). A token for the app to map to its own text.

  • user_rejected: the person declined in their wallet (an EIP-1193 4001, an ethers ACTION_REJECTED, or a wallet that words it "User rejected/denied ..."). Nothing is wrong: they may simply try again.
  • failed: anything else the signer threw (a locked wallet, an unreachable extension, a wallet that refused). The original error is cause.