tcAddWalletKeyToIdentity
methodstringrequired
Name of the predefined method to be used
Example:
tc_addWalletKeyToIdentityparams objectrequired
walletAddressstringrequired
Address of the wallet that will be added to the identity
Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$
Example:
0xC593e77451cE7009209Ea4e7F62d64F2355D71ffidentityAddressstringrequired
Address of the identity contract
Possible values: Value must match regular expression ^0x[0-9a-fA-F]{40}$
Example:
0xC593e77451cE7009209Ea4e7F62d64F2355D71fftypestringrequired
Type of wallet of the key (ECDSA)
Example:
ECDSApurposestringrequired
Purpose of the wallet to be added to the identity (MANAGEMENT, ACTION, ENCRYPTION, CLAIM)
Example:
MANAGEMENTtcAddWalletKeyToIdentity
{
"method": "tc_addWalletKeyToIdentity",
"params": {
"walletAddress": "0x123456A9571241e97cDb61E3FfD1937D885454dd",
"identityAddress": "0x5Bbfb5dAB27c0b32FDdAa6705d8B23E070a7613e",
"type": "ECDSA",
"purpose": "MANAGEMENT"
}
}