Skip to main content

moki_setService

Sets the service for a given wallet.

Parameters

  • Signed Service Data: hex - Signed data for the service (`nonce`+`serviceId`+`timestamp`)

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_setService", "params": ["0xe34a390133bd2d3ef..."], "id": 1}'

Reponse

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