Skip to main content

index/interfaces/BanData.md

Ban record data

Since​

5.5.0

Properties​

PropertyTypeDescription
bannedBystringAddress of user who created the ban, or 'admin'
createdAtstringCreation timestamp (ISO 8601)
expiresAtstring | nullExpiration timestamp (ISO 8601, null for permanent)
idnumberDatabase ID
isPermanentbooleanWhether this is a permanent ban
reasonstring | nullBan reason (optional, max 500 chars)
tokenNamestring | nullToken name (null for global bans)
user?UserProfileInfoBanned user's profile information (may not be present)
userAddressAddressFormatBanned user's wallet address