Open Cap Table Protocol Canton SDK - v0.2.125
    Preparing search index...

    Function buildPaymentContext

    • Build payment context for processing paymentStream payments (no amulet inputs needed)

      Queries the ledger for:

      • AmuletRules contract
      • OpenMiningRound contract
      • FeaturedAppRight contract (if provider specified)

      Returns both the payment context and the disclosed contracts needed

      Parameters

      • validatorClient: ValidatorApiClient

        Validator API client for getting rules/rounds

      • provider: string

        Optional provider party ID to lookup featured app right

      Returns Promise<PaymentContextWithDisclosedContracts>