Variable WithdrawalMethodEstimateConst
WithdrawalMethodEstimate: TUnion<
[
TIntersect<
[
TObject<{ methodId: TUnsafe<"MX_SPEI"> }>,
TObject<
{
fees: TArray<
TObject<
{
fee: TObject<{ amount: ...; currency: ... }>;
type: TUnsafe<(...) | (...) | (...) | (...) | (...) | (...)>;
},
>,
>;
sourceAmount: TNumber;
sourceAmountAfterFees: TNumber;
targetAmount: TNumber;
targetAmountAfterFees: TNumber;
},
>,
],
>,
TIntersect<
[
TObject<{ methodId: TLiteral<"US_ACH"> }>,
TObject<
{
fees: TArray<
TObject<
{
fee: TObject<{ amount: ...; currency: ... }>;
type: TUnsafe<(...) | (...) | (...) | (...) | (...) | (...)>;
},
>,
>;
sourceAmount: TNumber;
sourceAmountAfterFees: TNumber;
targetAmount: TNumber;
targetAmountAfterFees: TNumber;
},
>,
],
>,
TIntersect<
[
TObject<{ methodId: TLiteral<"US_INSTANT"> }>,
TObject<
{
fees: TArray<
TObject<
{
fee: TObject<{ amount: ...; currency: ... }>;
type: TUnsafe<(...) | (...) | (...) | (...) | (...) | (...)>;
},
>,
>;
sourceAmount: TNumber;
sourceAmountAfterFees: TNumber;
targetAmount: TNumber;
targetAmountAfterFees: TNumber;
},
>,
],
>,
],
> = ...