# getDataFeed

Get data feed by oracle(s)

### Spec

```typescript
getDataFeed(oracles: string | string[], feedName: string, otherParams?: DataFeedParams);

interface DataFeedParams {
    feed_value?: string | number | boolean;
    min_mci?: number;
    ifseveral?: 'abort' | 'last';
    what?: 'unit' | 'value';
    type?: 'string' | 'auto';
    ifnone?: string | number | boolean;
}
```

&#x20;\*Oracles supports type string, but it's syntactic sugar, the response won't change



### Example

```javascript
await Cleint.getDataFeed(['OPNUXBRSSQQGHKQNEPD2GLWQYEUY5XLD'], 'timestamp', {
  // feed_value?: string | number | boolean;
  // min_mci?: number;
  // ifseveral?: 'abort' | 'last';
  // what?: 'unit' | 'value';
  // type?: 'string' | 'auto';
  // ifnone?: string | number | boolean;
});
```



### Response

```json
1711582481537
```
