File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ export interface BuyTradeQuoteRequest {
243243 country ?: string | undefined ;
244244 subdivision ?: string | undefined ;
245245 paymentMethod ?: BuyCryptoPaymentMethod | undefined ;
246+ receiveAddress ?: string ;
246247}
247248
248249export type BuyTradeQuoteResponse = BuyTrade [ ] ;
Original file line number Diff line number Diff line change 33 BuyListResponse ,
44 BuyProviderInfo ,
55 BuyTrade ,
6+ BuyTradeQuoteRequest ,
67 ConfirmExchangeTradeRequest ,
78 CreateTradeSignatureRequestExchange ,
89 CreateTradeSignatureRequestSell ,
@@ -25,6 +26,17 @@ const bt: BuyTrade = {
2526 tags : [ "noExternalAddress" ] ,
2627} ;
2728
29+ const bqt : BuyTradeQuoteRequest = {
30+ wantCrypto : true ,
31+ fiatAmount : 1000 ,
32+ fiatStringAmount : "1000" ,
33+ cryptoAmount : 0.3 ,
34+ cryptoStringAmount : "0.3" ,
35+ receiveAddress : 'receiveAddress' ,
36+ receiveCurrency : 'bitcoin' as CryptoId ,
37+ fiatCurrency : 'USD' ,
38+ } ;
39+
2840const et : ExchangeTrade = {
2941 send : "bitcoin" as CryptoId ,
3042 receive : "ethereum" as CryptoId ,
You can’t perform that action at this time.
0 commit comments