Function verifyPaymentChannelClaim

  • Verify the signature of a payment channel claim.

    Returns

    True if the channel is valid.

    Parameters

    • channel: string

      Channel identifier specified by the paymentChannelClaim.

    • amount: string

      Amount specified by the paymentChannelClaim.

    • signature: string

      Signature produced from signing paymentChannelClaim.

    • publicKey: string

      Public key that signed the paymentChannelClaim.

    Returns boolean

Generated using TypeDoc