# IFtsoFeedIdConverter

> Interface for converting feed names to feed ids.

> For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL.

Source: https://dev.flare.network/ftso/solidity-reference/IFtsoFeedIdConverter

Interface for converting feed names to feed ids.

Sourced from `IFtsoFeedIdConverter.sol` on [GitHub](https://github.com/flare-foundation/flare-smart-contracts-v2/blob/main/contracts/userInterfaces/IFtsoFeedIdConverter.sol).

## Functions[​](#functions "Direct link to Functions")

### getFeedCategoryAndName[​](#getfeedcategoryandname "Direct link to getFeedCategoryAndName")

Returns the feed category and name for given feed id.

```
function getFeedCategoryAndName(    bytes21 _feedId) external pure returns (    uint8 _category,    string _name);
```

#### Parameters[​](#parameters "Direct link to Parameters")

-   `_feedId`: Feed id.

#### Returns[​](#returns "Direct link to Returns")

-   `_category`: Feed category.
-   `_name`: Feed name.

### getFeedId[​](#getfeedid "Direct link to getFeedId")

Returns the feed id for given category and name.

```
function getFeedId(    uint8 _category,    string _name) external view returns (    bytes21);
```

#### Parameters[​](#parameters-1 "Direct link to Parameters")

-   `_category`: Feed category.
-   `_name`: Feed name.

#### Returns[​](#returns-1 "Direct link to Returns")

-   `_feedId`: Feed id.
