import { BLOCK_SEARCH_RESULT_PATH } from '../blocks/config' ; import { EPOCH_SEARCH_RESULT_PATH } from '../epochs/config' ; import { TRANSACTION_SEARCH_RESULT_PATH } from './config' ; export const getTransactionRoute = ( txId ) => `${ TRANSACTION_SEARCH_RESULT_PATH }?id=${ txId }` ; export const getEpochRoute = ( epoch ) => `${ EPOCH_SEARCH_RESULT_PATH }?number=${ epoch }` ; export const getBlockRoute = ( blockId ) => `${ BLOCK_SEARCH_RESULT_PATH }?id=${ blockId }` ;