Example
./sui client call --package 0x70af3dc55b2ee885c63980f7d738540e4539416d --module entry_point_vector --function two_obj_vec_destroy --args "[\"0xdf5aec3f3a2217c98afcda4987d616e74c97f94b\",\"0x8ce4493f033397d6a6f19fdd6ac7d03e8e14b16a\"]" --gas-budget 10000 --gas 0x04f1a86732cb960701eaae4b8d2b76e99bd5f631
1 Like
why you add the object 0x04f1a86732cb960701eaae4b8d2b76e99bd5f631 ? is one of args ?
by the way, you can try this, we may need different types of quote to pass vector.
if you still fail, you can share your error msg here
./sui client call --package 0x70af3dc55b2ee885c63980f7d738540e4539416d --module entry_point_vector --function two_obj_vec_destroy --args ‘[“0xdf5aec3f3a2217c98afcda4987d616e74c97f94b”,“0x8ce4493f033397d6a6f19fdd6ac7d03e8e14b16a”]’ --gas-budget 10000 --gas 0x04f1a86732cb960701eaae4b8d2b76e99bd5f631