Custom Data
Custom data fields are generic string fields that allow you to store any arbitrary value within BitBadges structures. These fields provide flexibility for storing application-specific information. They are not used for any specific purpose via the BitBadges site and are more for future customization and extensibility.
Overview
Custom data fields appear throughout BitBadges as generic string storage:
customData- Simple string field in various structurescustomDataTimeline- Timeline-based custom data that can change over timeCustom fields in messages - Additional data in transaction messages
Usage
Simple Custom Data
{
"customData": "Any string value you want to store"
}Timeline-Based Custom Data
"customDataTimeline": [
{
"timelineTimes": [{"start": "1", "end": "18446744073709551615"}],
"customData": "Application-specific data that changes over time"
}
]Where You'll Find Custom Data
Custom data fields appear in:
Collections -
customDataTimelinefor collection-level dataAddress Lists -
customDatafor list-specific informationToken Metadata -
customDatawithin token metadata structuresMessages - Various transaction messages include custom data fields
Last updated