teleproto - v1.230.0
GitHub
npm
Issues
Preparing search index...
Api
OnrampQuote
Class OnrampQuote
Hierarchy (
View Summary
)
VirtualClass
<
{
baseAmount
:
string
;
baseCurrency
:
string
;
cryptoAmount
:
string
;
cryptoCurrency
:
string
;
cryptoPrice
:
string
;
expiresDate
:
int
;
extraFeeAmount
:
string
;
feeAmount
:
string
;
networkFeeAmount
:
string
;
paymentMethod
:
string
;
totalAmount
:
string
;
}
,
>
OnrampQuote
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
base
Amount
base
Currency
class
Name
class
Type
CONSTRUCTOR_
ID
crypto
Amount
crypto
Currency
crypto
Price
expires
Date
extra
Fee
Amount
fee
Amount
network
Fee
Amount
original
Args
payment
Method
SUBCLASS_
OF_
ID
total
Amount
Constructors
constructor
new
OnrampQuote
(
args
:
{
baseAmount
:
string
;
baseCurrency
:
string
;
cryptoAmount
:
string
;
cryptoCurrency
:
string
;
cryptoPrice
:
string
;
expiresDate
:
number
;
extraFeeAmount
:
string
;
feeAmount
:
string
;
networkFeeAmount
:
string
;
paymentMethod
:
string
;
totalAmount
:
string
;
}
,
)
:
OnrampQuote
Parameters
args
:
{
baseAmount
:
string
;
baseCurrency
:
string
;
cryptoAmount
:
string
;
cryptoCurrency
:
string
;
cryptoPrice
:
string
;
expiresDate
:
number
;
extraFeeAmount
:
string
;
feeAmount
:
string
;
networkFeeAmount
:
string
;
paymentMethod
:
string
;
totalAmount
:
string
;
}
Returns
OnrampQuote
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
OnrampQuote
Parameters
reader
:
any
Returns
OnrampQuote
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
baseAmount
:
string
;
baseCurrency
:
string
;
cryptoAmount
:
string
;
cryptoCurrency
:
string
;
cryptoPrice
:
string
;
expiresDate
:
number
;
extraFeeAmount
:
string
;
feeAmount
:
string
;
networkFeeAmount
:
string
;
paymentMethod
:
string
;
totalAmount
:
string
;
}
Returns
{
baseAmount
:
string
;
baseCurrency
:
string
;
cryptoAmount
:
string
;
cryptoCurrency
:
string
;
cryptoPrice
:
string
;
expiresDate
:
number
;
extraFeeAmount
:
string
;
feeAmount
:
string
;
networkFeeAmount
:
string
;
paymentMethod
:
string
;
totalAmount
:
string
;
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
base
Amount
baseAmount
:
string
base
Currency
baseCurrency
:
string
class
Name
className
:
"OnrampQuote"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
2055213545
crypto
Amount
cryptoAmount
:
string
crypto
Currency
cryptoCurrency
:
string
crypto
Price
cryptoPrice
:
string
expires
Date
expiresDate
:
number
extra
Fee
Amount
extraFeeAmount
:
string
fee
Amount
feeAmount
:
string
network
Fee
Amount
networkFeeAmount
:
string
original
Args
originalArgs
:
{
baseAmount
:
string
;
baseCurrency
:
string
;
cryptoAmount
:
string
;
cryptoCurrency
:
string
;
cryptoPrice
:
string
;
expiresDate
:
number
;
extraFeeAmount
:
string
;
feeAmount
:
string
;
networkFeeAmount
:
string
;
paymentMethod
:
string
;
totalAmount
:
string
;
}
payment
Method
paymentMethod
:
string
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
2933657721
total
Amount
totalAmount
:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
base
Amount
base
Currency
class
Name
class
Type
CONSTRUCTOR_
ID
crypto
Amount
crypto
Currency
crypto
Price
expires
Date
extra
Fee
Amount
fee
Amount
network
Fee
Amount
original
Args
payment
Method
SUBCLASS_
OF_
ID
total
Amount
GitHub
npm
Issues
teleproto - v1.230.0
Loading...