Skip to content

Latest commit

 

History

History
344 lines (166 loc) · 3.5 KB

File metadata and controls

344 lines (166 loc) · 3.5 KB

Selectors

Caution
Incomplete content.

An object containing a set of selector functions for getting specific information from the middleware’s redux state.

Selector Function Definitions

All selector functions share the following parameters:

  1. state (Object): The state slice from the redux store belonging to the middleware

  2. options (Object): An options object for specifying selection rules

    1. root (Object): The root of the state to select from. Defaults to the store root. You will probably not need to use it.

getBlockMaster(state, { root , chainAlias })

Returns the blockMaster public key for a specified chain alias.

Additional Options

  1. chainAlias (Object): The alias of the chain whose blockMaster we are selecting

Returns

(String): The public key belonging to the blockMaster for the specified chain

getChain

…​

Additional Options

  1. ? (Object):

Returns

(String):

getChainId

…​

Additional Options

  1. ? (Object):

Returns

(String):

getConfiguredChains

…​

Additional Options

  1. ? (Object):

Returns

(String):

getConfiguredPeers

…​

Additional Options

  1. ? (Object):

Returns

(String):

getConnectionStatus

…​

Additional Options

  1. ? (Object):

Returns

(String):

getCovenantHash

…​

Additional Options

  1. ? (Object):

Returns

(String):

getInterbitStatus

…​

Additional Options

  1. ? (Object):

Returns

(String):

getPrivateChain

…​

Additional Options

  1. ? (Object):

Returns

(String):

getPrivateChainId

…​

Additional Options

  1. ? (Object):

Returns

(String):

getPublicChain

…​

Additional Options

  1. ? (Object):

Returns

(String):

getPublicChainId

…​

Additional Options

  1. ? (Object):

Returns

(String):

getPublicKey

…​

Additional Options

  1. ? (Object):

Returns

(String):

getSponsorConfig

…​

Additional Options

  1. ? (Object):

Returns

(String):

isChainLoaded

…​

Additional Options

  1. ? (Object):

Returns

(String):

isPublicChainLoaded

…​

Additional Options

  1. ? (Object):

Returns

(String):

immutable

…​

Additional Options

  1. ? (Object):

Returns

(String):

interbitAtRoot

…​

Additional Options

  1. ? (Object):

Returns

(String):

fromStoreRoot

…​

Additional Options

  1. ? (Object):

Returns

(String):