/* tslint:disable */ /* eslint-disable */ /** * Fireblocks API * Fireblocks provides a suite of applications to manage digital asset operations and a complete development platform to build your business on the blockchain. - Visit our website for more information: [Fireblocks Website](https://fireblocks.com) - Visit our developer docs: [Fireblocks DevPortal](https://developers.fireblocks.com) * * The version of the OpenAPI document: 1.6.2 * Contact: developers@fireblocks.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ // May contain unused imports in some cases // @ts-ignore import { RoleFeeInfo } from './role-fee-info'; /** * Details of the transaction\'s fee. * @export * @interface FeeInfo */ export interface FeeInfo { /** * The fee paid to the network * @type {string} * @memberof FeeInfo */ 'networkFee'?: string; /** * The total fee deducted by the exchange from the actual requested amount (serviceFee = amount - netAmount) * @type {string} * @memberof FeeInfo */ 'serviceFee'?: string; /** * * @type {string} * @memberof FeeInfo */ 'gasPrice'?: string; /** * Layer 1 network fee for Layer 2 blockchain transactions * @type {string} * @memberof FeeInfo */ 'L1networkFee'?: string; /** * Layer 2 network fee (gas price component for Layer 2 transactions) * @type {string} * @memberof FeeInfo */ 'L2networkFee'?: string; /** * Wether the fee was paid by the relay or not * @type {boolean} * @memberof FeeInfo */ 'paidByRelay'?: boolean; /** * Wether the relay is the same tenant (LOCAL) or another tenant (THIRD_PARTY) * @type {string} * @memberof FeeInfo */ 'relayType'?: FeeInfoRelayTypeEnum; /** * The vault account ID of the relay * @type {string} * @memberof FeeInfo */ 'relayId'?: string; /** * The name of the tenant, only for THIRD_PARTY relays * @type {string} * @memberof FeeInfo */ 'relayName'?: string; /** * The USD value of the fee * @type {string} * @memberof FeeInfo */ 'feeUSD'?: string; /** * * @type {RoleFeeInfo} * @memberof FeeInfo */ 'sender'?: RoleFeeInfo; /** * * @type {RoleFeeInfo} * @memberof FeeInfo */ 'recipient'?: RoleFeeInfo; } export const FeeInfoRelayTypeEnum = { Local: 'LOCAL', ThirdParty: 'THIRD_PARTY' } as const; export type FeeInfoRelayTypeEnum = typeof FeeInfoRelayTypeEnum[keyof typeof FeeInfoRelayTypeEnum];