Interface OneinchSwapResponse

Hierarchy

  • OneinchSwapResponse

Properties

dstAmount: string
error?: number
protocols: [{
    fromTokenAddress: string;
    toTokenAddress: string;
}[][]]
tx: {
    data: string;
    from: string;
    gas: number;
    gasPrice: string;
    to: string;
    value: string;
}

Type declaration

  • data: string
  • from: string
  • gas: number
  • gasPrice: string
  • to: string
  • value: string

Generated using TypeDoc