Skip to main content
Version: 5.7.0

AttachBlockchainIdentity

Attaches the given block chain public key identity to the current profile.

ServiceOperation
identityATTACH_BLOCKCHAIN_IDENTITY

Method Parameters

ParameterDescription
blockchainConfigIdentifies the block chain.
publicKeyBlock chain public key.

Usage

http://localhost:3000
string blockchainConfig = "config";
string publicKey = "xxx";
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.IdentityService.AttachBlockchainIdentity(blockchainConfig, publicKey, successCallback, failureCallback);