Type alias OneInchSwapAPI200Result

OneInchSwapAPI200Result: {
    fromToken: {
        address: string;
        decimals: 0;
        logoURI: string;
        name: string;
        symbol: string;
    };
    protocols: string[];
    toAmount: string;
    toToken: {
        address: string;
        decimals: 0;
        logoURI: string;
        name: string;
        symbol: string;
    };
    tx: {
        data: string;
        from: string;
        gas: string;
        gasPrice: string;
        to: string;
        value: string;
    };
}

Type declaration

  • fromToken: {
        address: string;
        decimals: 0;
        logoURI: string;
        name: string;
        symbol: string;
    }
    • address: string
    • decimals: 0
    • logoURI: string
    • name: string
    • symbol: string
  • protocols: string[]
  • toAmount: string
  • toToken: {
        address: string;
        decimals: 0;
        logoURI: string;
        name: string;
        symbol: string;
    }
    • address: string
    • decimals: 0
    • logoURI: string
    • name: string
    • symbol: string
  • tx: {
        data: string;
        from: string;
        gas: string;
        gasPrice: string;
        to: string;
        value: string;
    }
    • data: string
    • from: string
    • gas: string
    • gasPrice: string
    • to: string
    • value: string

Generated using TypeDoc