Interface OneinchSwapResponse

Hierarchy

  • OneinchSwapResponse

Properties

error?: number
protocols: [{
    fromTokenAddress: string;
    toTokenAddress: string;
}[][]]
toAmount: 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