Skip to main content
type FundContextType = {
  state: FundState;
  dispatch: Dispatch<FundAction>;
  fetchBuyUrl: (params: FetchBuyUrlParams, onError?: (e: 
     | OnrampError
    | undefined) => void) => Promise<string>;
};
The context type for the Fund component.

Properties

PropertyType
stateFundState
dispatchDispatch<FundAction>
fetchBuyUrl(params: FetchBuyUrlParams, onError?: (e: | OnrampError | undefined) => void) => Promise<string>
I