Skip to main content

findTransactionSignature

Callable

  • findTransactionSignature(connection: Connection, reference: PublicKey, options?: SignaturesForAddressOptions, finality?: Finality): Promise<ConfirmedSignatureInfo>

  • Find the oldest transaction signature referencing a given public key.

    @throws

    if signature canโ€™t be found


    Parameters

    • connection: Connection

      A connection to the cluster.

    • reference: PublicKey

      reference in the Solana Pay spec

    • optionaloptions: SignaturesForAddressOptions

      Options for getSignaturesForAddress.

    • optionalfinality: Finality

      A subset of Commitment levels, which are at least optimistically confirmed.

    Returns Promise<ConfirmedSignatureInfo>