Type alias KadoResponseQuote

KadoResponseQuote: {
    asset: string;
    baseAmount: number;
    bridgeFee: ResponseQuoteFeeType;
    feeType: string;
    maxValue: {
        amount: number;
        unit: string;
    };
    minValue: {
        amount: number;
        unit: string;
    };
    networkFee: ResponseQuoteFeeType;
    price: {
        amount: number;
        price: number;
        symbol: string;
        unit: string;
    };
    processingFee: {
        amount: number;
        currency: string;
        originalAmount: number;
        promotionModifier: number;
    };
    receive: {
        amount: number;
        originalAmount: number;
        symbol: string;
        unit: string;
        unitCount: number;
    };
    receiveAmountAfterFees: ResponseQuoteFeeType & {
        originalAmount: number;
    };
    receiveUnitCountAfterFees: ResponseQuoteFeeType;
    smartContractFee: ResponseQuoteFeeType;
    totalFee: ResponseQuoteFeeType & {
        originalAmount: number;
    };
}

Type declaration

  • asset: string
  • baseAmount: number
  • bridgeFee: ResponseQuoteFeeType
  • feeType: string
  • maxValue: {
        amount: number;
        unit: string;
    }
    • amount: number
    • unit: string
  • minValue: {
        amount: number;
        unit: string;
    }
    • amount: number
    • unit: string
  • networkFee: ResponseQuoteFeeType
  • price: {
        amount: number;
        price: number;
        symbol: string;
        unit: string;
    }
    • amount: number
    • price: number
    • symbol: string
    • unit: string
  • processingFee: {
        amount: number;
        currency: string;
        originalAmount: number;
        promotionModifier: number;
    }
    • amount: number
    • currency: string
    • originalAmount: number
    • promotionModifier: number
  • receive: {
        amount: number;
        originalAmount: number;
        symbol: string;
        unit: string;
        unitCount: number;
    }
    • amount: number
    • originalAmount: number
    • symbol: string
    • unit: string
    • unitCount: number
  • receiveAmountAfterFees: ResponseQuoteFeeType & {
        originalAmount: number;
    }
  • receiveUnitCountAfterFees: ResponseQuoteFeeType
  • smartContractFee: ResponseQuoteFeeType
  • totalFee: ResponseQuoteFeeType & {
        originalAmount: number;
    }