@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/withdrawal-services
mx-spei
MxSpeiWithdrawalEstimateService
Class MxSpeiWithdrawalEstimateService
Index
Constructors
constructor
Methods
get
Constructors
constructor
new
MxSpeiWithdrawalEstimateService
(
args
:
{
entityProductFeeService
:
EntityProductFeeService
;
mxnInventoryRateService
:
MxnInventoryRateService
;
}
,
)
:
MxSpeiWithdrawalEstimateService
Parameters
args
:
{
entityProductFeeService
:
EntityProductFeeService
;
mxnInventoryRateService
:
MxnInventoryRateService
;
}
Returns
MxSpeiWithdrawalEstimateService
Methods
get
get
(
args
:
{
customerId
:
string
;
entityId
:
string
;
sourceCurrency
:
MxSpeiSourceCurrency
;
}
&
(
{
source
:
{
amount
:
BigNumber
}
}
|
{
target
:
{
amount
:
BigNumber
}
}
)
,
)
:
Promise
<
|
{
error
:
ServiceError
;
ok
:
false
}
|
{
ok
:
true
;
value
:
{
fees
:
Fees
;
sourceAmount
:
BigNumber
;
targetAmountAfterFees
:
BigNumber
;
totalFees
:
BigNumber
;
}
;
}
,
>
Parameters
args
:
{
customerId
:
string
;
entityId
:
string
;
sourceCurrency
:
MxSpeiSourceCurrency
}
&
(
{
source
:
{
amount
:
BigNumber
}
}
|
{
target
:
{
amount
:
BigNumber
}
}
)
Returns
Promise
<
|
{
error
:
ServiceError
;
ok
:
false
}
|
{
ok
:
true
;
value
:
{
fees
:
Fees
;
sourceAmount
:
BigNumber
;
targetAmountAfterFees
:
BigNumber
;
totalFees
:
BigNumber
;
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
get
@cfxlabsinc/b2b-services
Loading...