salt-sdk - v0.0.45
    Preparing search index...

    Interface AccountMessage

    A message-signing record as returned by the Salt API: what was asked to be signed, by whom, the policy check it went through, and how it ended.

    interface AccountMessage {
        accountId: string;
        digest: `0x${string}` | null;
        failureReason: MessageFailureReason | null;
        id: string;
        metadata: { proposerAddress: string };
        organisationId: string;
        params: SignablePayload;
        policyCheck: PolicyCheck | null;
        signature: `0x${string}` | null;
        state: MessageState;
    }
    Index
    accountId: string

    The ID of the account this message belongs to.

    digest: `0x${string}` | null

    The digest the account signs, derived by Salt from params. null when the params cannot be hashed; a co-signer then refuses to sign.

    failureReason: MessageFailureReason | null

    Why signing failed, when state is failure and Salt knows.

    id: string

    The ID of the message record.

    metadata: { proposerAddress: string }

    Server-derived context, e.g. who proposed the message.

    organisationId: string

    The ID of the organisation this message belongs to.

    What the account is asked to sign.

    policyCheck: PolicyCheck | null

    The policy check run for this message.

    signature: `0x${string}` | null

    The assembled signature, once signing succeeded.