CDP Frontend SDK
Preparing search index...
@coinbase/cdp-react
FundContextType
Type Alias FundContextType
The context type for the Fund component.
type
FundContextType
=
{
state
:
FundState
;
dispatch
:
Dispatch
<
FundAction
>
;
fetchBuyUrl
:
(
params
:
FetchBuyUrlParams
,
onError
?:
(
e
:
OnrampError
|
undefined
)
=>
void
,
)
=>
Promise
<
string
>
;
}
Index
Properties
state
dispatch
fetch
Buy
Url
Properties
state
state
:
FundState
dispatch
dispatch
:
Dispatch
<
FundAction
>
fetch
Buy
Url
fetchBuyUrl
:
(
params
:
FetchBuyUrlParams
,
onError
?:
(
e
:
OnrampError
|
undefined
)
=>
void
,
)
=>
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
state
dispatch
fetch
Buy
Url
CDP Frontend SDK
Loading...
The context type for the Fund component.