Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit c631a52

Browse files
authored
fix: Include type arguments for object transfer in cli example (#750)
1 parent b924575 commit c631a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/nextra/pages/en/build/smart-contracts/deployment.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ First, you may want to transfer the object from the deployer account to an admin
7373

7474
Here's how you can do it via CLI, here your `deployer_account` should be the current owner of the object.
7575
```bash
76-
aptos move run —-function-id 0x1::object::transfer -—args address:<object_address> address:<new_owner_address> —-profile <deployer_account_profile>
76+
aptos move run —-function-id 0x1::object::transfer --type-args 0x1::object::ObjectCore -—args address:<object_address> address:<new_owner_address> —-profile <deployer_account_profile>
7777
```
7878

7979
Here's how you can do it via the typescript SDK:

0 commit comments

Comments
 (0)