spv server code for coassets