Skip to main content
Version: 5.7.0

RemoveUserItemFromBlockchain

Removes the specified item from the item management attached blockchain. Results are reported asynchronously via an RTT event.

ServiceOperation
userItemsREMOVE_USER_ITEM_FROM_BLOCKCHAIN

Method Parameters

ParameterDescription
itemIdThe unique id of the user item.
versionThe version of the user item being removed.

Usage

http://localhost:3000
string itemId = "aaa-bbb-ccc-ddd";
int version = 1;

SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.UseritemsService.RemoveUserItemFromBlockchain(itemId, version, successCallback, failureCallback);
JSON Response
{
"status" : 200,
"data" : null
}