function randNodeAddr(nodeAddresses) {
    let randNodeGen =
        nodeAddresses[Math.floor(Math.random() * nodeAddresses.length)]
    let randNodeSplit = JSON.stringify(randNodeGen).split(/"/)
    let address = randNodeSplit[3]
    let account = randNodeSplit[1]
    return {
        address,
        account
    }
}
/**
 *
 * randNodeAddr provides a random node for grpc calls
 * @param {object} nodeAddresses
 * @returns object that contains the node ip and node accountID
 */
randNodeAddr provides a random node for grpc calls
@param {object} nodeAddresses
@returns object that contains the node ip and node accountID
randNodeAddr provides a random node for grpc calls @param { object } nodeAddresses @returns object that contains the node ip and node accountID
function randNodeAddr(nodeAddresses) {
    let randNodeGen =
        nodeAddresses[Math.floor(Math.random() * nodeAddresses.length)]
    let randNodeSplit = JSON.stringify(randNodeGen).split(/"/)
    let address = randNodeSplit[3]
    let account = randNodeSplit[1]
    return {
        address,
        account
    }
}
function randNodeAddr ( nodeAddresses ) { let randNodeGen = nodeAddresses [ Math . floor ( Math . random ( ) * nodeAddresses . length ) ] let randNodeSplit = JSON . stringify ( randNodeGen ) . split ( / " / ) let address = randNodeSplit [ 3 ] let account = randNodeSplit [ 1 ] return { address , account } }
randNodeAddr provides a random node for grpc calls
 @param {object} nodeAddresses
 @returns object that contains the node ip and node accountID
randNodeAddr provides a random node for grpc calls @param { object } nodeAddresses @returns object that contains the node ip and node accountID