Type alias RouteResponse

RouteResponse: {
    amount_in: string;
    amount_out: string;
    chain_ids: string[];
    dest_asset_chain_id: string;
    dest_asset_denom: string;
    does_swap: boolean;
    estimated_amount_out: string;
    estimated_fees: EstimatedFee[];
    operations: any[];
    source_asset_chain_id: string;
    source_asset_denom: string;
    swap_price_impact_percent: string | null;
    swap_venue?: any;
    txs_required: number;
    usd_amount_in: string;
    usd_amount_out: string;
    warning: {
        message: string;
        type: "LOW_INFO_WARNING" | "BAD_PRICE_WARNING";
    } | null | undefined;
}

Type declaration

  • amount_in: string
  • amount_out: string
  • chain_ids: string[]
  • dest_asset_chain_id: string
  • dest_asset_denom: string
  • does_swap: boolean
  • estimated_amount_out: string
  • estimated_fees: EstimatedFee[]
  • operations: any[]
  • source_asset_chain_id: string
  • source_asset_denom: string
  • swap_price_impact_percent: string | null
  • Optional swap_venue?: any
  • txs_required: number
  • usd_amount_in: string
  • usd_amount_out: string
  • warning: {
        message: string;
        type: "LOW_INFO_WARNING" | "BAD_PRICE_WARNING";
    } | null | undefined