@me2em/x402
    Preparing search index...

    Interface PaymentFetchOptions

    interface PaymentFetchOptions {
        signer: PaymentSigner;
        selectRequirements?: (
            accepts: readonly X402PaymentRequirements[],
        ) => X402PaymentRequirements;
        maxAttempts?: number;
    }
    Index

    The signer injected by the application.

    selectRequirements?: (
        accepts: readonly X402PaymentRequirements[],
    ) => X402PaymentRequirements

    Custom option picker; default: the first option covered by capabilities.

    maxAttempts?: number

    Total attempts — default 2: the initial request + one with PAYMENT-SIGNATURE.