# FeeResponse | xrpl
Documentation for xrpl

# Interface FeeResponse

Response expected from a FeeRequest.

#### Hierarchy

- BaseResponse
  - FeeResponse

- Defined in packages/xrpl/src/models/methods/fee.ts:26

#####
Index

### Properties

api_version?
forwarded?
id
result
status?
type
warning?
warnings?

## Properties

### `Optional` api_version

api_version?: number

Inherited from BaseResponse.api_version

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:31

### `Optional` forwarded

forwarded?: boolean

Inherited from BaseResponse.forwarded

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:30

### id

id: string | number

Inherited from BaseResponse.id

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:24

### result

result: {
current_ledger_size: string;
current_queue_size: string;
drops: {
base_fee: string;
median_fee: string;
minimum_fee: string;
open_ledger_fee: string;
};
expected_ledger_size: string;
ledger_current_index: number;
levels: {
median_level: string;
minimum_level: string;
open_ledger_level: string;
reference_level: string;
};
max_queue_size: string;
}

#### Type declaration

- ##### current_ledger_size: string

  Number of transactions provisionally included in the in-progress ledger.

- ##### current_queue_size: string

  Number of transactions currently queued for the next ledger.

- ##### drops: {
  base_fee: string;
  median_fee: string;
  minimum_fee: string;
  open_ledger_fee: string;
  }

  - ##### base_fee: string

    The transaction cost required for a reference transaction to be included in a ledger under minimum load, represented in drops of XRP.

  - ##### median_fee: string

    An approximation of the median transaction cost among transactions. Included in the previous validated ledger, represented in drops of XRP.

  - ##### minimum_fee: string

    The minimum transaction cost for a reference transaction to be queued for a later ledger, represented in drops of XRP. If greater than base_fee, the transaction queue is full.

  - ##### open_ledger_fee: string

    The minimum transaction cost that a reference transaction must pay to be included in the current open ledger, represented in drops of XRP.

- ##### expected_ledger_size: string

  The approximate number of transactions expected to be included in the current ledger. This is based on the number of transactions in the previous ledger.

- ##### ledger_current_index: number

  The Ledger Index of the current open ledger these stats describe.

- ##### levels: {
  median_level: string;
  minimum_level: string;
  open_ledger_level: string;
  reference_level: string;
  }

  - ##### median_level: string

    The median transaction cost among transactions in the previous validated ledger, represented in fee levels.

  - ##### minimum_level: string

    The minimum transaction cost required to be queued for a future ledger, represented in fee levels.

  - ##### open_ledger_level: string

    The minimum transaction cost required to be included in the current open ledger, represented in fee levels.

  - ##### reference_level: string

    The equivalent of the minimum transaction cost, represented in fee levels.

- ##### max_queue_size: string

  The maximum number of transactions that the transaction queue can currently hold.

Overrides BaseResponse.result

- Defined in packages/xrpl/src/models/methods/fee.ts:27

### `Optional` status

status?: string

Inherited from BaseResponse.status

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:25

### type

type: string

Inherited from BaseResponse.type

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:26

### `Optional` warning

warning?: "load"

Inherited from BaseResponse.warning

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:28

### `Optional` warnings

warnings?: Warning[]

Inherited from BaseResponse.warnings

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:29

Generated using TypeDoc