/ common / features / transaction / sign / selectors.ts
selectors.ts
1  import { AppState } from 'features/reducers';
2  
3  const getTransactionState = (state: AppState) => state.transaction;
4  
5  export const getSignState = (state: AppState) => getTransactionState(state).sign;
6  export const getSignedTx = (state: AppState) => getSignState(state).local.signedTransaction;
7  export const getWeb3Tx = (state: AppState) => getSignState(state).web3.transaction;