@thruputchain/client
    Preparing search index...

    Function verifySignTransactionResult

    • Verify unchanged XDR, a single strict network-bound signature, and receipt hash. Requires the exact unsigned transaction bytes and matching root address/pubkey claim, and an attached pubkey_claim_key equal to the account's Ed25519 key. The signature must be Ed25519 with public-key ID zero, verified over transactionSignaturePreimage(networkHash, tx) with ZIP-215 disabled and both key and signature point R non-small-order and prime-order. The hash is SHA-256 of unsigned XDR, excluding signatures and network.

      Parameters

      • value: unknown
      • transaction: string
      • account: WalletAccount
      • networkHash: string

        A 32-byte base58 identifier from the authorized session.

      Returns Promise<SignTransactionResult>

      A frozen verified result. This does not establish origin permission or a retained approval to submit; the provider must enforce both separately.

      Requires Web Crypto (HTTPS or localhost in browsers). Invalid signing results throw code -32603; invalid expected inputs fail their boundary validation first.