new - rpc api definition