CDP Frontend SDK
Preparing search index...
@coinbase/cdp-react
unstable_FundAction
Type Alias unstable_FundAction
unstable_FundAction
:
|
{
type
:
"SET_FIELD"
;
payload
:
{
[
K
in
keyof
unstable_FundState
]
:
{
field
:
K
;
value
:
unstable_FundState
[
K
]
;
}
}
[
keyof
unstable_FundState
]
;
}
|
{
type
:
"SET_AMOUNTS"
;
payload
:
{
cryptoAmount
:
number
;
fiatAmount
:
number
}
;
}
|
{
type
:
"FETCH_EXCHANGE_RATE"
}
|
{
type
:
"SET_EXCHANGE_RATE_SUCCESS"
;
payload
:
{
exchangeRate
:
number
|
undefined
}
;
}
|
{
type
:
"SET_EXCHANGE_RATE_ERROR"
;
payload
:
{
error
:
Partial
<
NonNullable
<
unstable_FundState
[
"exchangeRateError"
]
>
>
;
}
;
}
|
{
type
:
"FETCH_PAYMENT_METHODS"
}
|
{
type
:
"SET_PAYMENT_METHODS_SUCCESS"
;
payload
:
{
paymentMethods
:
unstable_FundPaymentMethod
[]
}
;
}
|
{
type
:
"SET_PAYMENT_METHODS_ERROR"
;
payload
:
{
error
:
Partial
<
NonNullable
<
unstable_FundState
[
"paymentMethodsError"
]
>
>
;
}
;
}
|
{
type
:
"SET_TRANSACTION_STATUS"
;
payload
:
{
transactionStatus
:
unstable_FundLifecycleStatus
}
;
}
|
{
type
:
"SYNC_WITH_PROPS"
;
payload
:
unstable_FundStateProps
}
The actions that can be dispatched to the Fund component.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
CDP Frontend SDK
Loading...
The actions that can be dispatched to the Fund component.