Skip to main content

Variable.PrepaidPayerKeyStatus

const PrepaidPayerKeyStatus: {
Mismatch: "mismatch";
Missing: "missing";
Ok: "ok";
Refused: "refused";
Unavailable: "unavailable";
Unconfigured: "unconfigured";
};

Whether the key of the Keyban prepaid payer of a network can sign, checked against the payer address recorded for that network.

  • unconfigured: no prepaid signer serves this network, or its local key is absent and no payer was ever recorded.
  • ok: the key loads and matches the recorded payer address.
  • missing: a payer address is recorded but its key is no longer in the store; prepaid signatures are refused.
  • mismatch: the store holds another key than the recorded payer's, or a value that is not a key; prepaid signatures are refused.
  • refused: the key store answers but refuses to use the key (disabled, pending deletion, not found, access denied); prepaid signatures are refused until a human acts on the key.
  • unavailable: the key store does not answer; prepaid signatures are refused until it does.

Type Declaration​

Mismatch​

readonly Mismatch: "mismatch";

Missing​

readonly Missing: "missing";

Ok​

readonly Ok: "ok";

Refused​

readonly Refused: "refused";

Unavailable​

readonly Unavailable: "unavailable";

Unconfigured​

readonly Unconfigured: "unconfigured";