A Chip is similar to an entry - or a user - in a database. It has a series of information, includingid, companyId, publicData, privateData and name. It is stored in a ChipCollection inside the users’ storage within the Flow Blockchain.
The publicData dictionary is meant to be used as a storage for all the data the service - or app - would like to share with others. For example, perhaps Venmo would like to share the user handle with WhatsApp - that way, there is no need to input it, simply get it. On the other hand, privateData is meant to contain the private fields the service - or app - would like to keep private to them and the user.
Returns public data from that Chip.
Function Name:
<aside>
⌨️ get_chip_public_data
</aside>
Parameters:
| Parameter | Type | Flow Type | Example |
|---|---|---|---|
| id | Integer | UInt64 | 12345 |
Return: