@iota-pico/api
Version:
IOTA Pico Framework API
50 lines (26 loc) • 1.01 kB
Markdown
[@iota-pico/api](../README.md) > [IGetNeighborsResponse](../interfaces/igetneighborsresponse.md)
# Interface: IGetNeighborsResponse
Represents the response from getNeighbors command.
*__interface__*:
## Hierarchy
[ICommonResponse](icommonresponse.md)
**↳ IGetNeighborsResponse**
## Index
### Properties
* [duration](igetneighborsresponse.md#duration)
* [neighbors](igetneighborsresponse.md#neighbors)
---
## Properties
<a id="duration"></a>
### duration
**● duration**: *`number`*
*Inherited from [ICommonResponse](icommonresponse.md).[duration](icommonresponse.md#duration)*
*Defined in [models/ICommonResponse.ts:9](https://github.com/iota-pico/api/tree/master/src/models/ICommonResponse.ts#L9*
The duration of the request.
___
<a id="neighbors"></a>
### neighbors
**● neighbors**: *[INeighbor](ineighbor.md)[]*
*Defined in [models/IGetNeighborsResponse.ts:12](https://github.com/iota-pico/api/tree/master/src/models/IGetNeighborsResponse.ts#L12*
The neighbors of the node.
___