solana-resilience-kit - v1.0.0
    Preparing search index...

    Class ResilientWalletAdapter

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Signs the given wire transaction with the wallet, then sends it through the resilient pipeline. lastValidBlockHeight must come from the blockhash the transaction was built with.

      NOTE on the signature handle: TransactionSender polls the cluster under the signature it is given (ConfirmationTracker calls getSignatureStatuses([signature])). That key MUST match the key the cluster registers the broadcast tx under, or confirmation polling watches the wrong slot and never observes the landing. For this minimal string API the signed wire IS that handle (the mock treats short strings as the raw signature, so the same value is both broadcast and polled). In production, where the signed wire is a long base64 transaction, the canonical signature must be extracted from the signed transaction (e.g. via kit's getSignatureFromTransaction) before sending. We deliberately do NOT pull a base58 / wire parser into src here: no spec exercises the long-wire branch and doing so would add untested surface.

      Parameters

      • unsignedWireTransaction: string
      • lastValidBlockHeight: bigint

      Returns Promise<SendResult>