Tagged
All users can tag any Ethereum based wallet address to tag them in a post, irregardless if they've every even been to the site.
The Tagged Smart Contract allows managing and querying tagged messages. Tagged messages are grouped by user or group addresses.
Table of Contents
Events
These are the events that are emitted by the contract functions.
logAddTag
This event is emitted when a new tag is added to a message.
msgID
The ID of the message.
taggedAccount
The address of the tagged account.
logRemoveTag
This event is emitted when a tag is removed from a message.
msgID
The ID of the message.
untaggedAccount
The address of the untagged account.
---
Public Functions
GetTaggedMessageIDs
This function can be used to get a list of all message IDs that a particular user or group is tagged in, starting from a specific message ID. It returns an array of message IDs. If the address does not exist or if there are no tagged messages, it returns an empty array.
usrAddress
The address of a user or group to retrieve the details for.
startFrom
The number to start getting records from.
uint256[]
An array of message IDs
Example:
Last updated