Object Display
Object Display V2 will be available in Sui v1.68. Check the release schedule to learn when v1.68 is available on Devnet, Testnet, and Mainnet.
Sui Object Display V2 will replace Object Display V1. Learn more.
Object Display V1 will continue being supported by RPCs that already had support for it (JSON-RPC, GraphQL) until end of July. After that, on-chain Object Display V1 code will be decommissioned and will start aborting.
Recommendation: Use the sui::display_registry APIs when creating a display from Move code. For the intermediate phase, use the migrate_v1_to_v2 function to migrate a legacy display and receive the V2 Display<T> and DisplayCap<T>.
All existing V1 displays will be migrated to V2 in a system snapshot migration. You do not need to do anything upfront. After the snapshot, you can claim the capability when you are ready (see Migrating to V2).
What is Object Display?
Object Display is a way to render any object on Sui using templating syntax. It renders Sui Move object values into human-readable strings, JSON, or encoded representations.
Creating Displays
An Object Display must be explicitly created and then maintained by the package or type owner.
Object Display Templates
Use the interactive module to try out different Object Display templates.