code: function getSessionBlockchainID() {
  
     let userData = getUserData();
     assert(userData);
     assert(userData.coreSessionToken);
  
     const session = jsontokens.decodeToken(userData.coreSessionToken).payload;
  
     return getBlockchainIDFromSessionOrDefault(session);
  }
docs: /*
  Get the current session's blockchain ID
  Throw if not defined or not present.