How do owned and shared objects on Sui affect transactions? · Jumpstart Blockchain
How do owned and shared objects on Sui affect transactions?
Transactions using only owned objects skip global ordering and finalise fastest, but reusing an object version, often a gas coin, can lock it until epoch end. Shared objects go through consensus and serialise when hot.
On Sui, every piece of state is an object with an owner, and the owner type decides how a transaction that touches it is processed. A transaction that uses only owned objects (plus immutable ones) can take the fast path: only the owner can use those objects, so validators just need to agree that each object version is used once, without ordering it against anyone else's transactions. A transaction that touches a shared object must be sequenced by consensus, because many users can write to it at once. Owned objects give lower latency and parallelism but put version tracking on the client; shared objects allow open, multi-user state at the cost of ordering, contention on hot objects and slightly higher latency.
The ownership types
Sui records an owner on every object, and Move decides which ownership an object gets when it's created or transferred.
Ownership
How it's created
Who can use it
Consensus needed?
Address-owned
transfer::transfer / public_transfer
Only the owning address
No (fast path)
Shared
transfer::share_object / public_share_object
Anyone, subject to Move checks
Yes
Immutable
transfer::freeze_object / published packages
Anyone, read-only
No
Wrapped or child
Stored inside another object or as a dynamic field
Through the parent only
Follows the parent
Party (consensus address-owned)
transfer::party_transfer with a Party value
Only the owning address
Yes
Sharing is one-way: a shared object can never become owned again, and only an object created in the same transaction can be shared. If you're coming from Solidity, where all contract storage is effectively one big shared object, how Move on Sui differs from Solidity covers the storage model in more detail.
Move treats assets as typed resources that can't be copied or dropped, stores state with owners instead of in contract mappings, uses signers and capabilities for access control, and avoids classic reentrancy.
Every transaction lists its inputs up front. For an owned object, the input is a full reference: object ID, version and digest. For a shared object it is the ID, the version at which it was first shared and whether the transaction needs it mutably.
With only owned inputs, the only thing validators must prevent is the owner using the same version of an object twice in conflicting transactions (a double spend). Validators lock each input version to the first valid transaction they see that uses it. Once a quorum has accepted the transaction, it is certified and can execute, and nobody else could have touched those objects in the meantime. There's no need for a global order, so unrelated transfers run in parallel.
Since Mysticeti v2 (the default from Sui node v1.60), this voting happens inside the consensus DAG rather than as a separate protocol: validators vote implicitly by referencing blocks, and owned-object transactions are finalised as soon as they gather a certificate, without waiting for a commit. They are still not ordered against other users' transactions, which is the property that makes them fast.
Shared objects are different. If two users both call swap on the same pool, the result depends on order, so the transaction has to go through consensus, be assigned a version for each shared input after ordering, and only then execute. Sui uses the order from Mysticeti commits to schedule those transactions; transactions on different shared objects still execute in parallel.
module example::counter;
/// Shared: anyone can increment, every call is ordered by consensus.
public struct SharedCounter has key {
id: UID,
value: u64,
}
/// Owned: only the holder can increment, no ordering against other users.
public struct MyCounter has key, store {
id: UID,
value: u64,
}
public fun create_shared(ctx: &mut TxContext) {
transfer::share_object(SharedCounter { id: object::new(ctx), value: 0 })
}
public fun create_owned(ctx: &mut TxContext) {
transfer::public_transfer(MyCounter { id: object::new(ctx), value: 0 }, ctx.sender())
}
public fun bump_shared(c: &mut SharedCounter) { c.value = c.value + 1 }
public fun bump_owned(c: &mut MyCounter) { c.value = c.value + 1 }
The function bodies are identical. The difference is entirely in how the object was created and therefore how every later transaction is processed.
What are the costs of each?
Owned objects
Shared objects
Latency
Lowest
Slightly higher (wait for commit)
Parallelism
Independent per owner
Serialised per hot object
Who tracks versions
The client must use the latest version
Assigned by consensus
Multi-user state
Not possible directly
Natural fit (pools, order books, auctions)
Failure mode
Equivocation can lock the object
Congestion can defer or cancel transactions
Equivocation on owned objects
Because an owned-object transaction names an exact version, the client is responsible for not sending two different transactions that use the same version. If a buggy wallet or a backend with two workers signs two transactions with the same gas coin and sends them to different validators, neither may reach a quorum. The object is then equivocated: locked and unusable until the end of the epoch, which on mainnet is about 24 hours. Mysten has said it is working to prevent these owned-object deadlocks at the protocol level, but you should design as if they can happen.
The most common culprit is the gas coin. Every transaction locks the coin it pays gas with, so firing parallel transactions from one coin is the classic way to equivocate. Options:
split SUI into several gas coins and give each worker its own (the TypeScript SDK's ParallelTransactionExecutor manages a pool of coins for you);
serialise transactions per coin and always use the latest version from the previous result (SerialTransactionExecutor);
on networks where it's enabled, pay gas from an address balance, an account-style SUI balance introduced in 2026 (SIP-58) that doesn't lock a coin object.
Contention and congestion on shared objects
A shared object is a single point of ordering. If every trade in your app mutates one global Market object, those trades execute one after another however many cores validators have. Sui applies per-object congestion control: when too much gas is aimed at one shared object in a commit, extra transactions are deferred to later commits and, if they keep missing out, cancelled with ExecutionCancelledDueToSharedObjectCongestion. Gas price affects which transactions get through first, in the same spirit as Solana's local fee markets for hot accounts.
Read-only use is cheaper. A shared object taken by immutable reference (&T) doesn't conflict with other readers. The system Clock at 0x6 is shared but can only be passed as &Clock, so thousands of transactions can read it at once.
Party objects: owned, but sequenced
Party objects are a newer ownership type that sits between the two. A party object belongs to a single address, like an owned object, but its versions are assigned by consensus, like a shared object. You create one with transfer::party_transfer(obj, party::single_owner(addr)).
That trade-off helps when one owner sends many transactions on the same object in quick succession. With an address-owned object, each transaction must wait for the previous one's effects to learn the new version. With a party object, the client can submit the next transaction without knowing it, because consensus will assign versions in order, and there's no equivocation lock to worry about. The cost is consensus latency. One restriction to know: a party-owned Coin<SUI> can't pay for gas.
How should I design around this?
Put per-user state in owned objects. Receipts, positions, NFTs and capabilities that only one user touches belong in that user's address. They're fast, parallel and free from contention.
Use shared objects only where users really interact. Liquidity pools, order books, auctions and registries need shared state. Keep them as small and as few per transaction as possible.
Split hot shared state. Instead of one global Market, consider one shared object per trading pair or per shard. Note that dynamic fields don't help here: they live under a parent, and the transaction still takes the parent shared object mutably, so all writes serialise on it.
Use capabilities for admin rights. An owned AdminCap passed by reference is cheaper and clearer than checking an address stored in a shared config.
Build transactions with the right inputs. In a programmable transaction block, the SDK resolves whether each tx.object() is owned or shared when it builds the transaction:
Mixing them is allowed, but the transaction then takes the consensus path for everything. Splitting the owned-only work into its own transaction keeps it on the fast path. You can check any object's owner type from the CLI with sui client object <ID> --json and look at the owner field (AddressOwner, Shared, Immutable, ObjectOwner or ConsensusAddressOwner).
Expect new clients. As of late 2026, Sui's JSON-RPC API is deprecated in favour of gRPC and GraphQL, and @mysten/sui 2.x replaces SuiClient with SuiGrpcClient. Transaction-building code like the above is unaffected.
Why this model exists
Sui's approach is a form of declared-access parallelism: because every transaction names its objects, the system knows ahead of time what can run together. Compare that with how Monad runs the EVM in parallel optimistically and re-executes on conflicts, or how Sei tracks reads and writes. The object model is also closer to Bitcoin's coins than to Ethereum accounts; UTXO vs account model explains that lineage.
Summary
If your transaction uses
It is processed by
Watch out for
Only owned and immutable objects
Fast path, no global ordering
Reusing an object version (equivocation), especially gas coins
Any shared object (mutable)
Consensus ordering, then execution
Hot-object contention and congestion cancellations