---
# System prepended metadata

title: Untitled

---


# 

```
with 
datetime(apoc.date.toISO8601(apoc.date.currentTimestamp(), 'ms'))  as datetime, 
                apoc.create.uuid() as uuid
            match 
                (u:_User {_chainverseId: $_userId})-[r:CREATED]->(c:_Community:_Main)
            with 
                datetime, c._chainverseId as _communityId, uuid, c._chainverseId + "_" + $token as _createIdValue
            merge 
                (e:_Element:_Token {_createId: _createIdValue})
            on match 
                set
                    e._lastUpdatedDt = datetime
            on create 
                set 
                    e._chainverseId = 'porEl' + substring(uuid, 1, 6),
                    e._communityId = _communityId,
                    e._createdDt = datetime,
                    e._createId = _createIdValue,
                    e.address = $token

```