Interface FeeInfo

Transaction fee information.

Hierarchy

  • FeeInfo

Properties

Properties

provider?: {
    cryptoFee?: {
        amount: BigNumber;
        tokenSymbol: string;
    };
    platformFee?: {
        percent: number;
        tokenSymbol: string;
    };
}

Fees, taken by provider. Already included in amounts.

Type declaration

  • Optional cryptoFee?: {
        amount: BigNumber;
        tokenSymbol: string;
    }

    Crypto fee to pay swap in target network.

    • amount: BigNumber
    • tokenSymbol: string
  • Optional platformFee?: {
        percent: number;
        tokenSymbol: string;
    }

    Platform fee which is percent from token in amount.

    • percent: number
    • tokenSymbol: string
rubicProxy?: {
    fixedFee?: {
        amount: BigNumber;
        tokenSymbol: string;
    };
    platformFee?: {
        percent: number;
        tokenSymbol: string;
    };
}

Fees, taken by cross-chain proxy or celer contract . Attached as additional amounts.

Type declaration

  • Optional fixedFee?: {
        amount: BigNumber;
        tokenSymbol: string;
    }

    Fixed crypto fee attached as additional value.

    • amount: BigNumber
    • tokenSymbol: string
  • Optional platformFee?: {
        percent: number;
        tokenSymbol: string;
    }

    Platform fee which is percent from token in amount.

    • percent: number
    • tokenSymbol: string

Generated using TypeDoc