Skip to main content

index/interfaces/LockTokenEntry.md

Token entry for batch lock operations

Properties​

PropertyTypeDescription
amountstringAmount of tokens to lock in decimal format
expires?numberOptional expiration timestamp in epoch milliseconds - lock auto-releases after this time
lockAuthority?stringAddress that can manage/unlock this lock (defaults to caller's address if not specified)
name?stringOptional name/identifier for the lock - can be used to match during unlock
tokenId?TokenIdFlexible token identifier - accepts string, TokenClassKey, or TokenInstanceKey
tokenName?stringToken name for lookup (e.g., 'anime', 'dragon') - used if tokenId not provided