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.

    • options: SignaturesForAddressOptions & { finality?: Finality } = {}

      Options for getSignaturesForAddress.

    Returns Promise<ConfirmedSignatureInfo>