CDP Frontend SDK
Preparing search index...
@coinbase/cdp-react
unstable_FetchBuyQuote
Type Alias unstable_FetchBuyQuote
unstable_FetchBuyQuote
:
(
params
:
{
destinationAddress
:
string
;
purchaseCurrency
:
string
;
purchaseNetwork
:
string
;
paymentAmount
:
string
;
paymentCurrency
:
string
;
paymentMethod
:
string
;
country
:
string
;
subdivision
?:
string
;
}
,
)
=>
Promise
<
unstable_OnrampBuyQuoteResponse
>
Get Buy Quote function (used for fetching the exchange rate and building the buy url)
Type declaration
(
params
:
{
destinationAddress
:
string
;
purchaseCurrency
:
string
;
purchaseNetwork
:
string
;
paymentAmount
:
string
;
paymentCurrency
:
string
;
paymentMethod
:
string
;
country
:
string
;
subdivision
?:
string
;
}
,
)
:
Promise
<
unstable_OnrampBuyQuoteResponse
>
Parameters
params
:
{
destinationAddress
:
string
;
purchaseCurrency
:
string
;
purchaseNetwork
:
string
;
paymentAmount
:
string
;
paymentCurrency
:
string
;
paymentMethod
:
string
;
country
:
string
;
subdivision
?:
string
;
}
Returns
Promise
<
unstable_OnrampBuyQuoteResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
CDP Frontend SDK
Loading...
Get Buy Quote function (used for fetching the exchange rate and building the buy url)