Skip to main content

moki_registerIdentity

Registers an identity on the audit chain.

Parameters

  • rawIdentityRequest: hex - The signed identity data [Signature, Version(1), ChainId(6654), DeligatedPublicKey(Compressed), ServiceAddress, Nonce(VarInt)].

Returns

success: boolean - Returns true if succeeded

Example

Request

curl https://mainnet.moki.network \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "moki_registerIdentity", "params": [], "id": 1}'

Reponse

Example Response
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}