(item, feeTokenKeys, feeAmountKeys)
| 820 | } |
| 821 | |
| 822 | parseTokenAndFeeTemp (item, feeTokenKeys, feeAmountKeys) { |
| 823 | const feeCost = this.safeStringN (item, feeAmountKeys); |
| 824 | let fee: NullableDict = undefined; |
| 825 | if (feeCost !== undefined) { |
| 826 | const feeCurrencyId = this.safeStringN (item, feeTokenKeys); |
| 827 | const feeCurrencyCode = this.safeCurrencyCode (feeCurrencyId); |
| 828 | fee = { |
| 829 | 'cost': feeCost, |
| 830 | 'currency': feeCurrencyCode, |
| 831 | }; |
| 832 | } |
| 833 | return fee; |
| 834 | } |
| 835 | |
| 836 | parseTradingFee (fee: Dict, market: Market = undefined): TradingFeeInterface { |
| 837 | const marketId = this.safeString (fee, 'symbol'); |
no test coverage detected