updated endpoints for both json-rpc and rescript