pub async fn increment_counter(
context: &WalletContext,
sender: SuiAddress,
gas_object_id: Option<ObjectID>,
package_id: ObjectID,
counter_id: ObjectID,
initial_shared_version: SequenceNumber,
) -> SuiTransactionBlockResponse
Expand description
Executes a transaction to increment a counter object.
Must be called after calling publish_basics_package_and_make_counter
.