Cashu-TS - v4.7.2
    Preparing search index...

    Type Alias RequestFn

    RequestFn: <T = unknown>(args: RequestOptions) => Promise<T>

    Pluggable request function used for all mint HTTP calls.

    Type Declaration

    Error contract: on a mint protocol error (JSON body with code/detail), implementations must throw an error isMintOperationError accepts, preferably this package's MintOperationError, with the NUT error code preserved. Wallet behavior that branches on mint error codes (eg the NUT-20 legacy signature retry) will not engage otherwise.