Skip to main content
Hook that provides a fetch function with X402 payment handling.

Parameters

ParameterTypeDescription
optionsFetchWithX402OptionsConfiguration object for the fetch function

Returns

FetchWithX402ReturnType A fetch function with X402 payment handling

Example