salt-sdk - v0.0.45
    Preparing search index...

    Type Alias OnPaymentRequired

    OnPaymentRequired: (terms: FeeTerms) => void | Promise<void>

    Called with the terms a 402 asked for, after they're chosen and before anything is signed. Throw to abort the payment.

    Of the networks quoted, the one chosen is the payer's own chain if it's among them, else the first.

    Type Declaration

      • (terms: FeeTerms): void | Promise<void>
      • Parameters

        Returns void | Promise<void>

    Fees