Skip to main content

findReference

Callable

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

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

    @throws

    {FindReferenceError}


    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>