# Type aliases ## AccountIdAndIndex **Ƭ AccountIdAndIndex**: *[`undefined` | `AccountId`, `undefined` | `AccountIndex`]* *Defined in [accounts/idAndIndex.ts:15](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/idAndIndex.ts#L15)* ___ # Functions ## idAndIndex ▸ **idAndIndex**(api: *`ApiInterface$Rx`*): `(Anonymous function)` *Defined in [accounts/idAndIndex.ts:17](https://github.com/polkadot-js/api/blob/a3e421f/packages/api-derive/src/accounts/idAndIndex.ts#L17)* **Parameters:** | Name | Type | | ------ | ------ | | api | `ApiInterface$Rx` | **Returns:** `(Anonymous function)` ___