Unregister Book

With the help of this function you can stop the stream of updates. The function takes as parameters the contract and the callback function, called in case of success or error.

function unRegisterBook(contract, callback)

Possible Responses:

  • Success

{
    "RQT":"unRegisterBook",         // Request Type
    "RQI":"18",                     // Request Id
    "RES":"OK",                     // Result
    "INS":"ESZ19"                   // Contract
}
  • Error

{
    "RQT":"unRegisterBook",         // Request Type
    "RQI":"18",                     // Request Id
    "RES":"ERR",                    // Result
    "MSG":"Unknown contract"        // Error Message
}